]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: non-pruning parent overlap handling fixes
authorIlya Dryomov <idryomov@gmail.com>
Mon, 17 Oct 2022 13:51:04 +0000 (15:51 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 4 Dec 2022 17:19:19 +0000 (18:19 +0100)
commit15c248243fb8c1319782db407cdffb7c01122225
tree70837c32edc4b8b6a5fc35499c1fb464f2a043b3
parentd47bb2a2db0d5e9373137bd454cb31c3cdfc06a4
librbd: non-pruning parent overlap handling fixes

Apply similar "reduce overlap and respect area" logic to places
that don't use prune_parent_extents().  Changes to FlattenRequest
and TrimRequest here should complete the long tail of encrypted
I/O path and flatten fixes.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/Operations.cc
src/librbd/api/DiffIterate.cc
src/librbd/operation/FlattenRequest.cc
src/librbd/operation/FlattenRequest.h
src/librbd/operation/SparsifyRequest.cc
src/librbd/operation/TrimRequest.cc
src/test/librbd/operation/test_mock_TrimRequest.cc
src/test/librbd/test_librbd.cc