From: Yan, Zheng Date: Mon, 25 May 2015 09:36:42 +0000 (+0800) Subject: ceph: don't include used caps in cap_wanted X-Git-Tag: omap-for-v4.2/fixes-rc1^2~38^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41445999aeec1f0fdf196ab55b2c770473b2ea01;p=pandora-kernel.git ceph: don't include used caps in cap_wanted when copying files to cephfs, file data may stay in page cache after corresponding file is closed. Cached data use Fc capability. If we include Fc capability in cap_wanted, MDS will treat files with cached data as open files, and journal them in an EOpen event when trimming log segment. Signed-off-by: Yan, Zheng --- Reading git-diff-tree failed