diff options
author | Alexander Motin <[email protected]> | 2024-11-23 17:29:03 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-23 14:29:03 -0800 |
commit | d0a91b9f88a47316158508bf304a61baa8c99c10 (patch) | |
tree | e3cc6fa0f4c84b05674a1425a34ae43b4e5ff9f9 /module/os/freebsd/spl | |
parent | b3b0ce64d50a948a3fab19d7cd4652b411ef200c (diff) |
FreeBSD: Reduce copy_file_range() source lock to shared
Linux locks copy_file_range() source as shared. FreeBSD was doing
it also, but then was changed to exclusive, partially because KPI
of that time was doing so, and partially seems out of caution.
Considering zfs_clone_range() uses range locks on both source and
destination, neither should require exclusive vnode locks. But one
step at a time, just sync it with Linux for now.
Reviewed-by: Alan Somers <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Alexander Motin <[email protected]>
Sponsored by: iXsystems, Inc.
Closes #16789
Closes #16797
Diffstat (limited to 'module/os/freebsd/spl')
0 files changed, 0 insertions, 0 deletions