diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-11-28 14:28:14 +0800 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-31 20:32:00 +0200 |
commit | 61f68816211ee4b884dc0dda8dd4d977548f4865 (patch) | |
tree | 8363f3938546bf044dac413bff490dd2e9e12310 /fs/ceph/super.c | |
parent | 9b60e70b3b6a8e4bc2d1b6d9f858a30e1cec496b (diff) | |
download | linux-stable-61f68816211ee4b884dc0dda8dd4d977548f4865.tar.gz linux-stable-61f68816211ee4b884dc0dda8dd4d977548f4865.tar.bz2 linux-stable-61f68816211ee4b884dc0dda8dd4d977548f4865.zip |
ceph: check caps in filemap_fault and page_mkwrite
Adds cap check to the page fault handler. The check prevents page
fault handler from adding new page to the page cache while Fcb caps
are being revoked. This solves Fc revoking hang in multiple clients
mmap IO workload.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/super.c')
0 files changed, 0 insertions, 0 deletions