From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [RFC][PATCH v2 4/4] vfs: wrap write f_ops with file_{start,end}_write() Date: Fri, 27 Jan 2017 18:51:47 +0100 Message-ID: <20170127175147.GB18919@lst.de> References: <1485174742-15866-2-git-send-email-amir73il@gmail.com> <1485200596-14057-1-git-send-email-amir73il@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org To: Amir Goldstein Cc: Miklos Szeredi , "Michael Kerrisk (man-pages)" , Jan Kara , Al Viro , "linux-unionfs@vger.kernel.org" , linux-fsdevel , Christoph Hellwig , "Darrick J. Wong" List-Id: linux-unionfs@vger.kernel.org On Fri, Jan 27, 2017 at 07:29:00PM +0200, Amir Goldstein wrote: > Christoph, > To your understanding, is it correct to add the IS_REG check in > vfs_copy_file_range()? Yes. The only thing that could maybe make sense would be block devices. But I'd prefer to only add then on an as-needed basis.