Thread (8 messages) 8 messages, 6 authors, 2016-01-20

Re: [PATCH] fuse: Add support for fuse stacked I/O

flat view

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2016-01-14 04:57:16
Also in: linux-fsdevel, lkml

Possibly related (same subject, not in this thread)

On Wed, Jan 13, 2016 at 03:53:10PM -0800, Nikhilesh Reddy wrote:
Add support for filesystem stacked read/write of files
when enabled through a userspace init option of FUSE_STACKED_IO.

When FUSE_STACKED_IO is enabled all the reads and writes
to the fuse mount point go directly to the native filesystem
rather than through the fuse daemon. All requests that aren't
read/write still go thought the userspace code.

Mmaped I/O is still not supported through stacking and can be
added in.

This allows for significantly better performance on read and writes.
The difference in performance  between fuse and the native lower
filesystem is negligible.

There is also a significant cpu/power savings that is achieved which
is really important on embedded systems that use fuse for I/O.

Signed-off-by: Nikhilesh Reddy <redacted>
---
 fs/fuse/Makefile          |   2 +-
 fs/fuse/dev.c             |   4 ++
 fs/fuse/dir.c             |   3 ++
 fs/fuse/file.c            |  37 +++++++++++++--
 fs/fuse/fuse_i.h          |  10 ++++
 fs/fuse/fuse_stacked.h    |  31 +++++++++++++
 fs/fuse/inode.c           |   5 ++
 fs/fuse/stacked_io.c      | 113
++++++++++++++++++++++++++++++++++++++++++++++
Your patch is line-wrapped and impossible to apply.

And why cc: me?  This isn't my area of the kernel...

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help