commit | e835124c2be289515b918f2688ced4249e2de566 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Fri Sep 17 08:03:08 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Fri Sep 17 08:03:08 2010 -0700 |
tree | 1bf9bc86a2d1c3e9508dc304830a3bb42ad7de9b | |
parent | ae00d4f37f4df56821331deb1028748110dd6dc9 [diff] |
ceph: only send one flushsnap per cap_snap per mds session Sending multiple flushsnap messages is problematic because we ignore the response if the tid doesn't match, and the server may only respond to each one once. It's also a waste. So, skip cap_snaps that are already on the flushing list, unless the caller tells us to resend (because we are reconnecting). Signed-off-by: Sage Weil <sage@newdream.net>