]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: sparse bufferlist read should return image-based extent map
authorJason Dillaman <dillaman@redhat.com>
Wed, 9 Sep 2020 04:05:21 +0000 (00:05 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 21 Sep 2020 11:51:56 +0000 (07:51 -0400)
commita99c69829f9615056165352677abd1811813a573
tree29df3f54789e82274814638dfa1234edfded27a5
parentb5b3007d403e850e804bfd06c378e19bc767e5be
librbd: sparse bufferlist read should return image-based extent map

It's currently returning a buffer-based extent map which is fine under
the existing use-case for copy-up but it does not support more advanced
features that need to know the actual image-extents for any data.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/CopyupRequest.cc
src/librbd/io/ImageRequest.cc
src/librbd/io/ReadResult.cc
src/librbd/io/ReadResult.h
src/osdc/Striper.cc
src/osdc/Striper.h
src/test/librbd/io/test_mock_CopyupRequest.cc