android_kernel_xiaomi_sm8350/fs/fuse
Miklos Szeredi c3021629a0 fuse: support splice() reading from fuse device
Allow userspace filesystem implementation to use splice() to read from
the fuse device.

The userspace filesystem can now transfer data coming from a WRITE
request to an arbitrary file descriptor (regular file, block device or
socket) without having to go through a userspace buffer.

The semantics of using splice() to read messages are:

 1)  with a single splice() call move the whole message from the fuse
     device to a temporary pipe
 2)  read the header from the pipe and determine the message type
 3a) if message is a WRITE then splice data from pipe to destination
 3b) else read rest of message to userspace buffer

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2010-05-25 15:06:07 +02:00
..
control.c fuse: add fusectl interface to max_background 2009-09-16 14:15:29 +02:00
cuse.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dev.c fuse: support splice() reading from fuse device 2010-05-25 15:06:07 +02:00
dir.c fuse: reject O_DIRECT flag also in fuse_create 2009-11-27 16:37:13 +01:00
file.c fuse: allow splice to move pages 2010-05-25 15:06:07 +02:00
fuse_i.h fuse: allow splice to move pages 2010-05-25 15:06:07 +02:00
inode.c tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
Kconfig fs/Kconfig: move fuse out 2009-01-22 13:15:55 +03:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00