OSDN Git Service

ceph: don't invalidate page cache when inode is no longer used
authorYan, Zheng <zyan@redhat.com>
Mon, 26 Oct 2015 08:08:43 +0000 (16:08 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Nov 2015 22:36:48 +0000 (23:36 +0100)
commit5e804ac4824302efc3038e086cb21f2e93ab8900
tree6e67ab2be2c56191d96afa4f012bf688ea001828
parent4afb04c0c88e21f37e5ef4776e432907d7b12838
ceph: don't invalidate page cache when inode is no longer used

ceph_check_caps() invalidate page cache when inode is not used
by any open file. This behaviour is not friendly for workload
that repeatly read files.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c
fs/ceph/mds_client.c