mirror of
https://github.com/openzfs/zfs.git
synced 2025-10-01 02:46:29 +00:00

These are all the same shape: set up the pool to suspend on first write, then perform some write+sync operation. The pool should suspend, and the sync operation should respond according to the failmode= property. We test fsync(), msync() and two forms of write() (open with O_SYNC, and async with sync=always), which all take slightly different paths to zil_commit() and back. A helper function is included to do the write+sync sequence with mmap() and msync(), since I didn't find a convenient tool to do that. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Rob Norris <rob.norris@klarasystems.com> Closes #17398
61 lines
802 B
Plaintext
61 lines
802 B
Plaintext
/badsend
|
|
/btree_test
|
|
/chg_usr_exec
|
|
/clonefile
|
|
/clone_mmap_cached
|
|
/clone_mmap_write
|
|
/crypto_test
|
|
/devname2devid
|
|
/dir_rd_update
|
|
/draid
|
|
/file_fadvise
|
|
/file_append
|
|
/file_check
|
|
/file_trunc
|
|
/file_write
|
|
/get_diff
|
|
/getversion
|
|
/largest_file
|
|
/libzfs_input_check
|
|
/manipulate_user_buffer
|
|
/mkbusy
|
|
/mkfile
|
|
/mkfiles
|
|
/mktree
|
|
/mmap_exec
|
|
/mmap_ftruncate
|
|
/mmap_libaio
|
|
/mmap_seek
|
|
/mmap_sync
|
|
/mmapwrite
|
|
/mmap_write_sync
|
|
/nvlist_to_lua
|
|
/randfree_file
|
|
/randwritecomp
|
|
/read_dos_attributes
|
|
/readmmap
|
|
/renameat2
|
|
/rename_dir
|
|
/rm_lnkcnt_zero_file
|
|
/send_doall
|
|
/statx
|
|
/stride_dd
|
|
/threadsappend
|
|
/user_ns_exec
|
|
/write_dos_attributes
|
|
/xattrtest
|
|
/zed_fd_spill-zedlet
|
|
/suid_write_to_file
|
|
/cp_files
|
|
/ctime
|
|
/truncate_test
|
|
/ereports
|
|
/zfs_diff-socket
|
|
/dosmode_readonly_write
|
|
/blake3_test
|
|
/edonr_test
|
|
/skein_test
|
|
/sha2_test
|
|
/idmap_util
|
|
/statx
|