mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
5a42ef04fd
Add a mechanism to wait for delete queue to drain. When doing redacted send/recv, many workflows involve deleting files that contain sensitive data. Because of the way zfs handles file deletions, snapshots taken quickly after a rm operation can sometimes still contain the file in question, especially if the file is very large. This can result in issues for redacted send/recv users who expect the deleted files to be redacted in the send streams, and not appear in their clones. This change duplicates much of the zpool wait related logic into a zfs wait command, which can be used to wait until the internal deleteq has been drained. Additional wait activities may be added in the future. Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Gallagher <john.gallagher@delphix.com> Signed-off-by: Paul Dagnelie <pcd@delphix.com> Closes #9707 |
||
---|---|---|
.. | ||
btree_test | ||
chg_usr_exec | ||
devname2devid | ||
dir_rd_update | ||
file_check | ||
file_trunc | ||
file_write | ||
get_diff | ||
largest_file | ||
libzfs_input_check | ||
mkbusy | ||
mkfile | ||
mkfiles | ||
mktree | ||
mmap_exec | ||
mmap_libaio | ||
mmapwrite | ||
nvlist_to_lua | ||
randfree_file | ||
randwritecomp | ||
readmmap | ||
rename_dir | ||
rm_lnkcnt_zero_file | ||
stride_dd | ||
threadsappend | ||
user_ns_exec | ||
xattrtest | ||
file_common.h | ||
Makefile.am |