]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: resurrect "exists" assert in simple_diff_cb()
authorIlya Dryomov <idryomov@gmail.com>
Fri, 10 Nov 2023 10:14:42 +0000 (11:14 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 18 Dec 2023 17:41:30 +0000 (18:41 +0100)
commita87634b1b8716c156aaf9f027c87fc2d9bcc535c
tree2d418799807b5a0a991a44559f0faad90e78e044
parent32d4a7a620c2ed73e649d94755117c1dfc9b7b95
librbd: resurrect "exists" assert in simple_diff_cb()

This effectively reverts commit 3ccc3bb4bd35 ("librbd: diff_iterate
needs to handle holes in parent images") which just dropped the assert
instead of addressing the root cause of reported crashes.

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