reflink: test quota accounting

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong
2016-01-27 12:53:02 -08:00
parent e750a21128
commit aad7738cda
15 changed files with 736 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
QA output created by 213
Format and mount
Create the original files
root -- 3072 0 0 7 0 0
nobody -- 0 0 0 1 0 0
fsgqa -- 0 0 0 1 0 0
Change file ownership
root -- 0 0 0 4 0 0
nobody -- 0 0 0 1 0 0
fsgqa -- 3072 0 0 4 0 0
CoW one of the files
root -- 0 0 0 4 0 0
nobody -- 0 0 0 1 0 0
fsgqa -- 3520 0 0 4 0 0
Remount the FS to see if accounting changes
root -- 0 0 0 4 0 0
nobody -- 0 0 0 1 0 0
fsgqa -- 3072 0 0 4 0 0
Chown one of the files
root -- 0 0 0 4 0 0
nobody -- 1024 0 0 2 0 0
fsgqa -- 2048 0 0 3 0 0