]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/cephfs/first-damage: fix iteration of big dirfrags 49796/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 18 Jan 2023 19:39:00 +0000 (14:39 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 19 Jan 2023 18:04:50 +0000 (13:04 -0500)
commitb1a6479c32f7773610375d720724cfe07165bd08
tree76741ec19f2583e26b3fc3bb79bec28bac1684d9
parent02948ff7c61edca8b5e80e22806b69526370a066
tools/cephfs/first-damage: fix iteration of big dirfrags

We have to iterate in chunks otherwise the get_omap_vals API returns
partial results even if the max count is large.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/workunits/fs/damage/test-first-damage.sh
src/tools/cephfs/first-damage.py