]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: include ETIMEDOUT in notify reply on timeout
authorSage Weil <sage@redhat.com>
Mon, 11 Aug 2014 00:52:18 +0000 (17:52 -0700)
committerJohn Spray <john.spray@redhat.com>
Mon, 25 Aug 2014 00:34:18 +0000 (01:34 +0100)
commit7a2ec05cc8c11e948ff62fe07c00df8692a50b50
tree45063c5c33a5b0eac14f27e28f3238cc91f6c076
parenta786d2d0bdb0ac185c83dc7534aa60ccf53b16ff
osd: include ETIMEDOUT in notify reply on timeout

If a notify operation times out (all watchers to not ACK in time), include
an ETIMEDOUT in the final error message back to the client, so that they
know about it.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/Watch.cc
src/osd/Watch.h