mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
44d8ae4351
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>
5 lines
83 B
Plaintext
5 lines
83 B
Plaintext
QA output created by 033
|
|
0000000 0000 0000 0000 0000 0000 0000 0000 0000
|
|
*
|
|
0010000
|