mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 11:29:36 +03:00
b2ab468dde
Calling uiomove() in mappedread() under the page lock can result in a deadlock if the user space page needs to be faulted in. Resolve the issue by dropping the page lock before the uiomove(). The inode range lock protects against concurrent updates via zfs_read() and zfs_write(). Reviewed-by: Albert Lee <trisk@forkgnu.org> Reviewed-by: Chunwei Chen <david.chen@nutanix.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #7335 Closes #7339 |
||
---|---|---|
.. | ||
chg_usr_exec | ||
devname2devid | ||
dir_rd_update | ||
file_check | ||
file_trunc | ||
file_write | ||
largest_file | ||
mkbusy | ||
mkfile | ||
mkfiles | ||
mktree | ||
mmap_exec | ||
mmap_libaio | ||
mmapwrite | ||
nvlist_to_lua | ||
randfree_file | ||
readmmap | ||
rename_dir | ||
rm_lnkcnt_zero_file | ||
threadsappend | ||
user_ns_exec | ||
xattrtest | ||
file_common.h | ||
Makefile.am |