]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: empty IO requests should complete in new context
authorJason Dillaman <dillaman@redhat.com>
Tue, 2 Apr 2019 19:33:00 +0000 (15:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 8 Apr 2019 17:20:07 +0000 (13:20 -0400)
commitc9ff6cf1945b248b38e83484aa4a22c206da846b
tree4c94ea89ef077bc8da5a975f6a015cdd8cd26788
parent89cfa6c8d328b9294c7f7efd53d82edcec59e66d
librbd: empty IO requests should complete in new context

This will avoid the possibility of a lock being held by the caller
and having the IO immediately complete back to the calling state
machine.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/AioCompletion.cc
src/librbd/io/AioCompletion.h
src/librbd/io/ImageRequest.cc
src/librbd/journal/Replay.cc