Files
apfstests/tests/xfs/507.out
T
Darrick J. Wong 55867bd3a8 xfs: check for COW overflows in i_delayed_blks
With the new copy on write functionality it's possible to reserve so
much COW space for a file that we end up overflowing i_delayed_blks.
The only user-visible effect of this is to cause totally wrong i_blocks
output in stat, so check for that.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2019-06-28 11:13:21 +08:00

9 lines
163 B
Plaintext

QA output created by 507
Format and mount
Create crazy huge file
Reflink crazy huge file
COW crazy huge file
Check crazy huge file
st_blocks is in range
Test done