]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: object cacher should re-use read state machine
authorJason Dillaman <dillaman@redhat.com>
Tue, 7 Nov 2017 19:36:10 +0000 (14:36 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 Nov 2017 12:31:59 +0000 (07:31 -0500)
commite79c0cf2009c69681ed4c70f52ade2f5fd570567
tree364354538a66c864b658448e3aa4436a6f2a7bd8
parent62c3282b875f7345d7b71228d1e35e0cc87d44fa
librbd: object cacher should re-use read state machine

This adds support for sparse-reads and ensures all object reads
utilize a single, tested code path.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/LibrbdWriteback.cc
src/librbd/io/ImageRequest.cc
src/librbd/io/ObjectRequest.cc
src/librbd/io/ObjectRequest.h
src/librbd/io/ReadResult.cc
src/librbd/io/ReadResult.h
src/test/librbd/io/test_mock_ObjectRequest.cc