mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/033: add xfs delalloc indirect block depletion reproducer
XFS allocates extra indirect blocks for delayed allocation extents at write time. When delalloc extents are split, the existing indirect block reservation was historically divided up evenly among the new extents even though the overall requirement for two extents could exceed the requirement for the original. Repeated delalloc extent splits ultimately leads to extents with 0 indirect blocks and in turn leads to assert failures in XFS. Add a test to stress indirect block reservation for delayed allocation extents. The test converts a single delalloc extent to many and operates on the remaining extents to detect or trigger potential problems. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
85fac07e87
commit
44d8ae4351
@@ -35,6 +35,7 @@
|
||||
030 auto quick rw
|
||||
031 auto quick prealloc rw
|
||||
032 auto quick rw
|
||||
033 auto quick rw
|
||||
053 acl repair auto quick
|
||||
062 attr udf auto quick
|
||||
068 other auto freeze dangerous stress
|
||||
|
||||
Reference in New Issue
Block a user