commit | a43fb73101eaf6db0b33d22c152b338ab8b3edbb | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Fri Sep 17 09:54:08 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Fri Sep 17 09:54:31 2010 -0700 |
tree | 039276b81586a986f5b9662fc28b37cbf9271eb3 | |
parent | e835124c2be289515b918f2688ced4249e2de566 [diff] |
ceph: check mapping to determine if FILE_CACHE cap is used See if the i_data mapping has any pages to determine if the FILE_CACHE capability is currently in use, instead of assuming it is any time the rdcache_gen value is set (i.e., issued -> used). This allows the MDS RECALL_STATE process work for inodes that have cached pages. Signed-off-by: Sage Weil <sage@newdream.net>