]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: remove AsyncRequest::safely_cancel
authorJason Dillaman <dillaman@redhat.com>
Wed, 26 Aug 2015 18:33:13 +0000 (14:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 17 Nov 2015 20:05:38 +0000 (15:05 -0500)
commita701d5e8aef11d43c016f95d791b82182488712a
tree28e5c853857321a91009667fd6ea0a627a00319b
parent2e17bdc8de5723b78e4c2bd7cee8227e4619102e
librbd: remove AsyncRequest::safely_cancel

Long-running operations controlled via the AsyncObjectThrottle will
automatically cancel with an -ERESTART return code when requested.
Other states are transitional and have a high-potential for race
conditions if aborted between states.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AsyncRequest.h
src/librbd/ObjectMap.h
src/librbd/ResizeRequest.cc
src/librbd/ResizeRequest.h