android_kernel_xiaomi_sm8350/fs/fuse
Nick Piggin ea9b9907b8 fuse: implement perform_write
Introduce fuse_perform_write.  With fusexmp (a passthrough filesystem), large
(1MB) writes into a backing tmpfs filesystem are sped up by almost 4 times
(256MB/s vs 71MB/s).

[mszeredi@suse.cz]:

 - split into smaller functions
 - testing
 - duplicate generic_file_aio_write(), so that there's no need to add a
   new ->perform_write() a_op.  Comment from hch.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-30 08:29:50 -07:00
..
control.c mm: bdi: expose the BDI object in sysfs for FUSE 2008-04-30 08:29:49 -07:00
dev.c fuse: support writable mmap 2008-04-30 08:29:50 -07:00
dir.c fuse: support writable mmap 2008-04-30 08:29:50 -07:00
file.c fuse: implement perform_write 2008-04-30 08:29:50 -07:00
fuse_i.h fuse: support writable mmap 2008-04-30 08:29:50 -07:00
inode.c fuse: support writable mmap 2008-04-30 08:29:50 -07:00
Makefile