mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
reflink: test quota accounting
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
QA output created by 328
|
||||
Format and mount
|
||||
Create the original files
|
||||
root -- 0 0 0 4 0 0
|
||||
fsgqa -- 3072 0 0 3 0 0
|
||||
Set hard quota to prevent rewrite
|
||||
root -- 0 0 0 4 0 0
|
||||
fsgqa +- 3072 0 1024 3 0 0
|
||||
Try to dio write the whole file
|
||||
pwrite64: Disk quota exceeded
|
||||
root -- 0 0 0 4 0 0
|
||||
fsgqa +- 3072 0 1024 3 0 0
|
||||
Try to write the whole file
|
||||
pwrite64: Disk quota exceeded
|
||||
root -- 0 0 0 4 0 0
|
||||
fsgqa +- 3072 0 1024 3 0 0
|
||||
Set hard quota to allow rewrite
|
||||
root -- 0 0 0 4 0 0
|
||||
fsgqa -- 3072 0 8192 3 0 0
|
||||
Try to dio write the whole file
|
||||
root -- 0 0 0 4 0 0
|
||||
fsgqa -- 3072 0 8192 3 0 0
|
||||
Try to write the whole file
|
||||
root -- 0 0 0 4 0 0
|
||||
fsgqa -- 3072 0 8192 3 0 0
|
||||
Reference in New Issue
Block a user