commit | 61f68816211ee4b884dc0dda8dd4d977548f4865 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Thu Nov 28 14:28:14 2013 +0800 |
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | Tue Dec 31 20:32:00 2013 +0200 |
tree | 8363f3938546bf044dac413bff490dd2e9e12310 | |
parent | 9b60e70b3b6a8e4bc2d1b6d9f858a30e1cec496b [diff] |
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>