]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: make diff-iterate in fast-diff mode sort and merge reported extents 45637/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:48:49 +0000 (09:48 +0100)
commit269c4ddb8fa42326e9cfb248d04633a39a2634dd
treed304c0e4d7c21945318f3aaaf6dbe26a302216ed
parent6d2b27c4d6142be8029a725eefa0440cedb7a660
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