]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: moved skip partial discard logic to object request
authorJason Dillaman <dillaman@redhat.com>
Mon, 5 Mar 2018 13:41:07 +0000 (08:41 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 7 Mar 2018 17:45:42 +0000 (12:45 -0500)
commit475f0fd9ef79c518372c7fd51a10a5551f6be232
tree1890a1e564ebe204e8306622922914bb6ab14559
parent59802c5255c17ff5715a53c7f57a41ea7413db4c
librbd: moved skip partial discard logic to object request

This allows the journal object dispatch layer to properly complete
skipped extents and commit the associated event.

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