mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
db4284f312
Ensure that copy-on-writing a reflinked file when there's no free disk space reflects the desired ENOSPC back to userspace during the write call. Tests the buffered IO, direct IO, and mmap write paths. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
11 lines
265 B
Plaintext
11 lines
265 B
Plaintext
QA output created by 172
|
|
Format and mount
|
|
Reformat with appropriate size
|
|
Create a big file and reflink it
|
|
Allocate the rest of the space
|
|
CoW the big file
|
|
pwrite64: No space left on device
|
|
Remount and try CoW again
|
|
pwrite64: No space left on device
|
|
Check scratch fs
|