diff options
author | Pawel Jakub Dawidek <[email protected]> | 2024-01-17 08:51:07 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-01-19 12:28:02 -0800 |
commit | ef527958c6a1fc07177636465194625ef8e64083 (patch) | |
tree | 08423327a93843b807a6516168f3af8086563c4e /tests/zfs-tests/include | |
parent | d2f7b2e55767f8b84bcca79cf508f89c0471a92a (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/zfs-tests/include')
-rw-r--r-- | tests/zfs-tests/include/commands.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg index 797078ed3..daa794551 100644 --- a/tests/zfs-tests/include/commands.cfg +++ b/tests/zfs-tests/include/commands.cfg @@ -185,6 +185,7 @@ export ZFSTEST_FILES='badsend btree_test chg_usr_exec clonefile + clone_mmap_cached clone_mmap_write devname2devid dir_rd_update |