aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles/common.run
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <[email protected]>2024-01-17 08:51:07 -0800
committerBrian Behlendorf <[email protected]>2024-01-19 12:28:02 -0800
commitef527958c6a1fc07177636465194625ef8e64083 (patch)
tree08423327a93843b807a6516168f3af8086563c4e /tests/runfiles/common.run
parentd2f7b2e55767f8b84bcca79cf508f89c0471a92a (diff)
Fix cloning into mmaped and cached file.
If the destination file is mmaped and the mmaped region was already read, so it is cached, we need to update mmaped pages after successful clone using update_pages(). Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Pointed out by: Ka Ho Ng <[email protected]> Signed-off-by: Pawel Jakub Dawidek <[email protected]> Closes #15772
Diffstat (limited to 'tests/runfiles/common.run')
-rw-r--r--tests/runfiles/common.run4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index f320c5423..33f30b005 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -72,7 +72,9 @@ tags = ['functional', 'bclone']
timeout = 7200
[tests/functional/block_cloning]
-tests = ['block_cloning_copyfilerange', 'block_cloning_copyfilerange_partial',
+tests = ['block_cloning_clone_mmap_cached',
+ 'block_cloning_copyfilerange',
+ 'block_cloning_copyfilerange_partial',
'block_cloning_copyfilerange_fallback',
'block_cloning_disabled_copyfilerange',
'block_cloning_copyfilerange_cross_dataset',