]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
uclient: reset flushing_caps on (mds) cap import.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 2 Jun 2011 21:27:23 +0000 (14:27 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Fri, 3 Jun 2011 01:35:45 +0000 (18:35 -0700)
commitcd5049dc8b714226b357ed03ab8d88c8dc060f8f
tree36df2472c5ee439cf49bf5e41db7bb8e030b1fa2
parentc28b749bce5efa66b5b846d5dd24b870be7dd48e
uclient: reset flushing_caps on (mds) cap import.

Previously, we could get stuck thinking that we'd flushed caps
(that went to the original MDS, waited on freeze for export,
and then were dropped) without ever telling the auth MDS that we
wanted to do so. This caused hung shutdowns:
1) during shutdown we drop all our caps
2) we get stuck and notice that we have a flushing cap
3) we send cap flush
4) MDS ignores it (I think because actual data already got updated?
and now we don't have the proper caps either)

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/client/Client.cc