ceph: fix flushing of caps vs cap import
authorSage Weil <sage@newdream.net>
Tue, 18 Jan 2011 16:56:01 +0000 (08:56 -0800)
committerSage Weil <sage@newdream.net>
Wed, 19 Jan 2011 17:23:25 +0000 (09:23 -0800)
If we are mid-flush and a cap is migrated to another node, we need to
resend the cap flush message to the new MDS, and do so with the original
flush_seq to avoid leaking across a sync boundary.  Previously we didn't
redo the flush (we only flushed newly dirty data), which would cause a
later sync to hang forever.

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found