polyfuse
polyfuse copied to clipboard
support for splice(2) read
According to libfuse:
- When
FUSE_SPLICE_READflag is set (andwrite_bufis supplied), it attempts tospliceat first and transfer a request message into the pipe. - If the message length is shorter than
sizeof(fuse_in_header) + sizeof(fuse_write_in) + pagesize, the entire of the request message is transferred into the userspace and hence the pipe is emptied. - If a series of operations in data transfer with
spliceis failed, the receiving process is falling back to useread/readv.