reflink: test what happens when we hit resource limits

Add a few horrible opt-in stress tests to see what happens if we try
to reflink the same block billions of times, and what happens if we
run out of space while reflinking a file.

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:40:17 +11:00
committed by Dave Chinner
parent db4284f312
commit 727d47730d
5 changed files with 187 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
QA output created by 176
Format and mount
Create a big file
Try to reflink
Check scratch fs