You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a block clone fallback is performed with direct=always, the function zfs_setup_direct() (called by zfs_read()) appears to fail with EFAULT during the execution of zfs_uio_get_dio_pages_alloc() -> zfs_uio_pin_user_pages() -> pin_user_pages_unlocked(), although the kernel converts EFAULT to EAGAIN later. Note: Same test results in panic when executed in older kernel version, i.e., #16952.
System information
Describe the problem you're observing
When a block clone fallback is performed with
direct=always
, the functionzfs_setup_direct()
(called byzfs_read()
) appears to fail withEFAULT
during the execution ofzfs_uio_get_dio_pages_alloc() -> zfs_uio_pin_user_pages() -> pin_user_pages_unlocked()
, although the kernel convertsEFAULT
toEAGAIN
later.Note: Same test results in panic when executed in older kernel version, i.e., #16952.
Describe how to reproduce the problem
Fails with
direct=always
Passes with
direct=standard
Include any warning/errors/backtraces from the system logs
clonefile reports: "
copy_file_range: Resource temporarily unavailable
when request offset or size is not aligned to recordsize"The text was updated successfully, but these errors were encountered: