]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Pass the result of PreReleaseRequest to next handler. 20112/head
authorliyichao <liyichao.good@gmail.com>
Wed, 16 May 2018 13:21:52 +0000 (21:21 +0800)
committerliyichao <liyichao.good@gmail.com>
Wed, 16 May 2018 13:21:52 +0000 (21:21 +0800)
commit86af091cf05a1f732453d53243fdba522ef0d8b4
tree5f48ce206e71b1077809d4422dd9252d0cfecb47
parent8b7892f6c95c77f1b17e31cf0c5b3bbc80cd66de
Pass the result of PreReleaseRequest to next handler.

We have to pass the error code so PreReleaseRequest is considered
failed so that in `ExclusiveLock<I>::post_release_lock_handler`,
`io_work_queue->unblock_writes` will be not called because
it is already called in PreReleaseRequest.

Signed-off-by: liyichao <liyichao.good@gmail.com>
src/librbd/ManagedLock.cc