reflink: ensure that we can handle reflinking a lot of extents

Update the existing stress tests to ensure that we can handle
reflinking the same block a million times, and that we can handle
reflinking million different extents.  Add a couple of tests to ensure
that we can ^C and SIGKILL our way out of long-running reflinks.

v2: Don't run the signal tests on NFS, as we cannot interrupt NFS
clone operations.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
[hch@lst.de: don't run on NFS]
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Darrick J. Wong
2016-02-04 09:26:03 -08:00
parent 37059d0ca7
commit ddf6ff2f94
12 changed files with 328 additions and 59 deletions
+6
View File
@@ -0,0 +1,6 @@
QA output created by 297
Format and mount
Create a one block file
Find a reflink size that takes a long time
Try to kill reflink after a shorter period of time
Check scratch fs