]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: create new write block image dispatch layer
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 May 2020 20:23:35 +0000 (16:23 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 28 May 2020 22:02:18 +0000 (18:02 -0400)
commiteb119cf3e639c30ec355e9d4bbfa930621c1c0c9
tree7cdae98825db08320e632e9bd0c84321cb63d424
parent07f9d8b5b2f7a72018329db69c0c367098f0b563
librbd: create new write block image dispatch layer

The ability to block writes needs to occur after the refresh and
exclusive lock dispatch layers to prevent IO from getting stuck
when blocking writes.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/CMakeLists.txt
src/librbd/io/Types.h
src/librbd/io/WriteBlockImageDispatch.cc [new file with mode: 0644]
src/librbd/io/WriteBlockImageDispatch.h [new file with mode: 0644]