From: Yan, Zheng Date: Fri, 22 Nov 2013 05:50:45 +0000 (+0800) Subject: ceph: fix cache revoke race X-Git-Tag: v3.14-rc1~71^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9563f88c1fa01341d125e396edc654a8dbcab2d2;p=pandora-kernel.git ceph: fix cache revoke race handle following sequence of events: - non-auth MDS revokes Fc cap. queue invalidate work - auth MDS issues Fc cap through request reply. i_rdcache_gen gets increased. - invalidate work runs. it finds i_rdcache_revoking != i_rdcache_gen, so it does nothing. Signed-off-by: Yan, Zheng --- Reading git-diff-tree failed