From: Yan, Zheng Date: Thu, 28 Nov 2013 06:28:14 +0000 (+0800) Subject: ceph: check caps in filemap_fault and page_mkwrite X-Git-Tag: v3.14-rc1~71^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61f68816211ee4b884dc0dda8dd4d977548f4865;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed