mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	The purpose of this PR is to accepts fadvise ioctl from userland to do read-ahead by demand. It could dramatically improve sequential read performance especially when primarycache is set to metadata or zfs_prefetch_disable is 1. If the file is mmaped, generic_fadvise is also called for page cache read-ahead besides dmu_prefetch. Only POSIX_FADV_WILLNEED and POSIX_FADV_SEQUENTIAL are supported in this PR currently. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Finix Yan <yancw@info2soft.com> Closes #13694
		
			
				
	
	
		
			50 lines
		
	
	
		
			647 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			647 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/badsend
 | 
						|
/btree_test
 | 
						|
/chg_usr_exec
 | 
						|
/devname2devid
 | 
						|
/dir_rd_update
 | 
						|
/draid
 | 
						|
/file_fadvise
 | 
						|
/file_append
 | 
						|
/file_check
 | 
						|
/file_trunc
 | 
						|
/file_write
 | 
						|
/get_diff
 | 
						|
/getversion
 | 
						|
/largest_file
 | 
						|
/libzfs_input_check
 | 
						|
/mkbusy
 | 
						|
/mkfile
 | 
						|
/mkfiles
 | 
						|
/mktree
 | 
						|
/mmap_exec
 | 
						|
/mmap_libaio
 | 
						|
/mmap_seek
 | 
						|
/mmap_sync
 | 
						|
/mmapwrite
 | 
						|
/nvlist_to_lua
 | 
						|
/randfree_file
 | 
						|
/randwritecomp
 | 
						|
/read_dos_attributes
 | 
						|
/readmmap
 | 
						|
/rename_dir
 | 
						|
/rm_lnkcnt_zero_file
 | 
						|
/send_doall
 | 
						|
/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
 |