From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754145AbcANE5W (ORCPT ); Wed, 13 Jan 2016 23:57:22 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:45475 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753694AbcANE5R (ORCPT ); Wed, 13 Jan 2016 23:57:17 -0500 Date: Wed, 13 Jan 2016 20:57:16 -0800 From: Greg KH To: Nikhilesh Reddy Cc: Miklos Szeredi , fuse-devel , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, Richard Weinberger , "Theodore Ts'o" , jack@suse.cz, Antonio SJ Musumeci , sven.utcke@gmx.de, Nikolaus Rath Subject: Re: [PATCH] fuse: Add support for fuse stacked I/O Message-ID: <20160114045716.GB8006@kroah.com> References: <565394BE.4040506@codeaurora.org> <5696E366.2080605@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5696E366.2080605@codeaurora.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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