]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: separated queued image IO requests from state machine
authorJason Dillaman <dillaman@redhat.com>
Thu, 15 Feb 2018 15:44:38 +0000 (10:44 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 26 Feb 2018 17:28:25 +0000 (12:28 -0500)
commitbaa0b682607a25126517fef3bac0e9d13b0b23c5
treee3d960bb86698c2cfd0a3aefeae0250fb2f76379
parent1378ab7df5d7fe11e8f44ed8d41d96e0dba5c77f
librbd: separated queued image IO requests from state machine

This breaks the tight coupling between the IO work queue and
the actual dispatch of IO requests.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
12 files changed:
src/librbd/CMakeLists.txt
src/librbd/cache/ImageWriteback.cc
src/librbd/io/ImageDispatchSpec.cc [new file with mode: 0644]
src/librbd/io/ImageDispatchSpec.h [new file with mode: 0644]
src/librbd/io/ImageRequest.cc
src/librbd/io/ImageRequest.h
src/librbd/io/ImageRequestWQ.cc
src/librbd/io/ImageRequestWQ.h
src/librbd/journal/Replay.cc
src/test/librbd/io/test_mock_ImageRequest.cc
src/test/librbd/io/test_mock_ImageRequestWQ.cc
src/test/librbd/journal/test_mock_Replay.cc