From: Sage Weil Date: Fri, 17 Sep 2010 16:54:08 +0000 (-0700) Subject: ceph: check mapping to determine if FILE_CACHE cap is used X-Git-Tag: v2.6.36-rc6~84^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a43fb73101eaf6db0b33d22c152b338ab8b3edbb;p=pandora-kernel.git ceph: check mapping to determine if FILE_CACHE cap is used See if the i_data mapping has any pages to determine if the FILE_CACHE capability is currently in use, instead of assuming it is any time the rdcache_gen value is set (i.e., issued -> used). This allows the MDS RECALL_STATE process work for inodes that have cached pages. Signed-off-by: Sage Weil --- Reading git-diff-tree failed