summaryrefslogtreecommitdiffstats
path: root/fs/ceph/osd_client.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-09-17 17:03:08 +0200
committerSage Weil <sage@newdream.net>2010-09-17 17:03:08 +0200
commite835124c2be289515b918f2688ced4249e2de566 (patch)
tree1bf9bc86a2d1c3e9508dc304830a3bb42ad7de9b /fs/ceph/osd_client.c
parentceph: fix cap_snap and realm split (diff)
downloadlinux-e835124c2be289515b918f2688ced4249e2de566.tar.xz
linux-e835124c2be289515b918f2688ced4249e2de566.zip
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>
Diffstat (limited to 'fs/ceph/osd_client.c')
0 files changed, 0 insertions, 0 deletions