> A splice() into /dev/fuse with SPLICE_F_MOVE lets the reply to a read
> request steal full pages from the pipe.  Each stolen page replaces, in
> the fuse file's page cache, the folio that the request allocated.  The
> page can be a page cache folio of another file, a page written into the
> pipe, or a gifted user page.
> 
> Always copy.  The server sees the same data, and the move was a hint
> that splice() never promised to honour.
> 
> Keep advertising FUSE_SPLICE_MOVE.  libfuse fails the mount of a
> filesystem that asks for a capability the kernel does not offer.
> 
> Preparation for removing ->try_steal() from pipe buffers.
> 
> Suggested-by: David Hildenbrand (Arm) <[email protected]>
> Suggested-by: Linus Torvalds <[email protected]>
> Signed-off-by: Kiryl Shutsemau (Meta) <[email protected]>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=2


Reply via email to