ceph: fix sync vs canceled write
authorSage Weil <sage@newdream.net>
Fri, 3 Jun 2011 16:37:09 +0000 (09:37 -0700)
committerSage Weil <sage@newdream.net>
Wed, 8 Jun 2011 04:34:13 +0000 (21:34 -0700)
commit2584547230ae49b8de91ab3bb5e0a81898905b45
tree1f00818bc7075e0898998d4e05c0cd08dd3d85d0
parent70b666c3b4cb2b96098d80e6f515e4bc6d37db5a
ceph: fix sync vs canceled write

If we cancel a write, trigger the safe completions to prevent a sync from
blocking indefinitely in ceph_osdc_sync().

Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/osd_client.c