]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: make diff-iterate in fast-diff mode sort and merge reported extents 45638/head
authorIlya Dryomov <idryomov@gmail.com>
Sun, 20 Mar 2022 11:10:52 +0000 (12:10 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2022 08:50:06 +0000 (09:50 +0100)
commitc06858d217d20bb59050d42ca53caeeadd918444
tree56a8db549836e2bd65f4bd33621a2eb8b2d8ddbb
parent0261499791347131fa65c532a996bd15c7adadef
librbd: make diff-iterate in fast-diff mode sort and merge reported extents

Various users, the most notable example being the QEMU driver, assume
that extents are reported in image offset order.

Fixes: https://tracker.ceph.com/issues/53885
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 85e7075d5f021bd2d11024e6646d74a8a9f96e15)
src/librbd/api/DiffIterate.cc
src/test/librbd/test_librbd.cc