]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd: add TestInternal.FlattenInconsistentObjectMap 61168/head
authorIlya Dryomov <idryomov@gmail.com>
Tue, 17 Dec 2024 08:57:44 +0000 (09:57 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 22 Dec 2024 15:28:09 +0000 (16:28 +0100)
commitefb8f295a9fbbc04dd3efd896277e5c7d0df18b1
treeb12a51c21880c745e9d25a0d67f683bd8475ec96
parent5d5ea4e159612728db441072bec62599b9aa534a
test/librbd: add TestInternal.FlattenInconsistentObjectMap

Inject an object map with all possible inconsistencies before
flattening to ensure that something similar to commit 40af4f87b64f
("librbd: flatten operation should use object map") doesn't reappear
in a different form.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit ffcd90313b9dd6e5aab8df0f9a5335a69785133c)
src/test/librbd/test_internal.cc