]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fuzzy: for fuzzing ag btrees, find the path to the AG header
authorDarrick J. Wong <djwong@kernel.org>
Fri, 24 Feb 2023 05:48:11 +0000 (13:48 +0800)
committerZorro Lang <zlang@kernel.org>
Sat, 25 Feb 2023 13:14:43 +0000 (21:14 +0800)
commitc63c8677b97ac5ab4abd16e462cddfa4b7bf298c
treeea50ad9adf2ac931116407c85bd8a4eb7e7ed570
parent6b5b9b1e6fc28099c66b63d8bccb1f0049736343
fuzzy: for fuzzing ag btrees, find the path to the AG header

The fs population code creates various btrees in /some/ allocation group
with at least two levels.  These btrees aren't necessarily created in
agno 0, so we need to find it programmatically.  While we're at it, fix
a few of the comments that failed to mention when we're fuzzing interior
nodes and not leaves.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
28 files changed:
common/xfs
tests/xfs/358
tests/xfs/359
tests/xfs/360
tests/xfs/361
tests/xfs/362
tests/xfs/363
tests/xfs/364
tests/xfs/365
tests/xfs/366
tests/xfs/367
tests/xfs/368
tests/xfs/369
tests/xfs/370
tests/xfs/371
tests/xfs/372
tests/xfs/373
tests/xfs/410
tests/xfs/411
tests/xfs/457
tests/xfs/458
tests/xfs/459
tests/xfs/460
tests/xfs/461
tests/xfs/462
tests/xfs/463
tests/xfs/464
tests/xfs/483