]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/io: ReadResult image-extent helper now takes a buffer offset
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 Nov 2020 20:27:39 +0000 (15:27 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 16 Nov 2020 23:16:24 +0000 (18:16 -0500)
commit3c44a4cbbabccf09549d4a5aff50fe0b6afbd75e
tree3b7a6316d377a2a1ddbe92db851d50254f658f1d
parent29ee772263c7ab3c3bf33038bd989336ae3064ad
librbd/io: ReadResult image-extent helper now takes a buffer offset

All existing users will continue to pass a buffer offset of zero, but
a future HTTP-based transfer class will need to potentially break up
multiple extents into individual HTTP requests and therefore will need
to adjust the offset.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/cache/WriteLogImageDispatch.cc
src/librbd/io/ReadResult.cc
src/librbd/io/ReadResult.h
src/librbd/migration/RawFormat.cc
src/test/librbd/io/test_mock_CopyupRequest.cc