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

From: Greg KH
Date: Wed Jan 13 2016 - 23:57:27 EST


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 <reddyn@xxxxxxxxxxxxxx>
> ---
> 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