reflink: test accuracy of free block counts

Check that the free block counts seem to be handled correctly in
the reflink operation and subsequent attempts to rewrite reflinked
copies.

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>
This commit is contained in:
Darrick J. Wong
2015-11-17 08:39:43 +11:00
committed by Dave Chinner
parent c84e01bac3
commit bed1fedae6
15 changed files with 798 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
QA output created by 153
Create the original file blocks
Create the reflink copies
Collapse most of the blocks
Collpase nearly all the files
free blocks after reflink is in range
free blocks after fcollapsing some reflink copies is in range
free blocks after fcollapsing all copies is in range