From: Sage Weil Date: Mon, 9 Nov 2009 20:05:48 +0000 (-0800) Subject: ceph: do not confuse stale and dead (unreconnected) caps X-Git-Tag: v2.6.34-rc2~9^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=685f9a5d14194fc35db73e5e7370740ccc14b64a;p=pandora-kernel.git ceph: do not confuse stale and dead (unreconnected) caps We were using the cap_gen to track both stale caps (caps that timed out due to temporarily losing touch with the mds) and dead caps that did not reconnect after an MDS failure. Introduce a recon_gen counter to track reconnections to restarted MDSs and kill dead caps based on that instead. Rename gen to cap_gen while we're at it to make it more clear which is which. Signed-off-by: Sage Weil --- Reading git-diff-tree failed