Sage Weil 685f9a5d14 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 <sage@newdream.net>
2009-11-09 12:06:07 -08:00
..
2009-09-23 13:03:46 -05:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:28 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 18:13:10 -07:00
2009-09-23 07:39:30 -07:00
2009-09-24 08:41:47 -04:00
2009-09-24 08:41:47 -04:00
2009-09-24 07:21:01 -07:00
2009-09-24 07:21:03 -07:00
2009-09-24 07:21:01 -07:00
2009-09-24 07:47:27 -04:00
2009-10-06 11:31:15 -07:00
2009-10-06 11:31:15 -07:00
2009-09-23 07:39:29 -07:00