]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: replace direct reads from ImageRequest with ImageDispatchSpec
authorJason Dillaman <dillaman@redhat.com>
Tue, 27 Oct 2020 18:57:54 +0000 (14:57 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 1 Nov 2020 14:44:29 +0000 (09:44 -0500)
commit9edc30366b04801590bf73b60367dce06daba67d
tree14227fbe1277f9af9caaa510b2529c016b55eb5c
parent8a9f6dde28e66ce84626f2a46d5e59dd55140e83
librbd: replace direct reads from ImageRequest with ImageDispatchSpec

Read requests will always need to go via the image dispatch layer to
ensure migrations are properly handled.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc
src/librbd/io/CopyupRequest.cc
src/librbd/io/Utils.cc
src/test/librbd/io/test_mock_CopyupRequest.cc