commit | 088b3f5e9ee2649f5cfc2f08d8ce654e3eeba310 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Jan 18 08:56:01 2011 -0800 |
committer | Sage Weil <sage@newdream.net> | Wed Jan 19 09:23:25 2011 -0800 |
tree | ca61373ee6eccd99a2af9a58ef492e099bacce3d | |
parent | 24be0c481067560b11441e794e27f166a3568863 [diff] |
ceph: fix flushing of caps vs cap import 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>