mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: test increased overlong directory extent discard threshold
As of 2007, metadump has an interesting "feature" where it discards directory extents that are longer than 1000 (originally 20) blocks. This ostensibly was to protect metadump from corrupt bmbt records, but it also has the effect of omitting from the metadump valid long extents. The end result is that we create incomplete metadumps, which is exacerbated by the lack of warning unless -w is passed. So now that we've fixed the default threshold to MAXEXTLEN, check that the installed metadump no longer exhibits this behavior. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
a44ee35b62
commit
8443ff29f2
@@ -0,0 +1,6 @@
|
||||
QA output created by 432
|
||||
Format and mount
|
||||
Create huge dir
|
||||
Check for > 1000 block extent?
|
||||
Try to metadump
|
||||
Check restored metadump image
|
||||
Reference in New Issue
Block a user