diff options
author | Sage Weil <sage@newdream.net> | 2010-09-17 18:54:08 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-09-17 18:54:31 +0200 |
commit | a43fb73101eaf6db0b33d22c152b338ab8b3edbb (patch) | |
tree | 039276b81586a986f5b9662fc28b37cbf9271eb3 /fs/timerfd.c | |
parent | ceph: only send one flushsnap per cap_snap per mds session (diff) | |
download | linux-a43fb73101eaf6db0b33d22c152b338ab8b3edbb.tar.xz linux-a43fb73101eaf6db0b33d22c152b338ab8b3edbb.zip |
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>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions