On Thu, 30 Nov 2023 16:16:21 +0200, Amir Goldstein wrote: > Christian, > > Josef has helped me see the light and figure out how to avoid the > possible deadlock, which involves: > - splice() from source file in a loop mounted fs to dest file in > a host fs, where the loop image file is > - fsfreeze on host fs > - write to host fs in context of fanotify permission event handler > (FAN_ACCESS_PERM) on the splice source file > > [...] Applied to the vfs.rw branch of the vfs/vfs.git tree. Patches in the vfs.rw branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.rw [1/3] fs: fork splice_file_range() from do_splice_direct() https://git.kernel.org/vfs/vfs/c/42a29fdc3202 [2/3] fs: move file_start_write() into direct_splice_actor() https://git.kernel.org/vfs/vfs/c/8b524ba13575 [3/3] fs: use do_splice_direct() for nfsd/ksmbd server-side-copy https://git.kernel.org/vfs/vfs/c/05ee2d85cd4a