mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: map multiple bmbt records to a single rmapbt record
Make sure that we can handle multiple bmbt records mapping to a single rmapbt record. This can happen if you fallocate more than 2^21 contiguous blocks to a file. (Also add some helpers that can create huge devices with some dm-zero and dm-snapshot fakery.) Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
12c5657cfa
commit
ffad9122b6
@@ -0,0 +1,13 @@
|
||||
QA output created by 310
|
||||
Figure out block size
|
||||
Format huge device
|
||||
Create the original file blocks
|
||||
Check extent count
|
||||
Check bmap count
|
||||
Check rmap count
|
||||
Check and fake-repair huge filesystem
|
||||
Real repair huge filesystem
|
||||
Check bmap count again
|
||||
Check rmap count again
|
||||
Check and fake-repair huge filesystem again
|
||||
Done
|
||||
Reference in New Issue
Block a user