From: Christoph Hellwig Subject: Re: [PATCH-RFC-RESEND 0/9] NFS/NFSD: add NFSv42 CLONE operation support Date: Wed, 26 Aug 2015 06:11:56 -0700 Message-ID: <20150826131156.GA9948@infradead.org> References: <1440577010-122867-1-git-send-email-tao.peng@primarydata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Trond Myklebust , Anna Schumaker , Christoph Hellwig , Zach Brown , Darren Hart , bfields-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org, Jeff Layton , linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Darrick J. Wong" , linux-btrfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Peng Tao Return-path: Content-Disposition: inline In-Reply-To: <1440577010-122867-1-git-send-email-tao.peng-7I+n7zu2hftEKMMhf/gKZA@public.gmane.org> Sender: linux-nfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-fsdevel.vger.kernel.org On Wed, Aug 26, 2015 at 04:16:41PM +0800, Peng Tao wrote: > 2. vfs_file_clone_range() does not expect file systems to do data copy, and thus > no rw_verify_area() required. While there is no physical copy involved, the data logically is copied from file A to file B. So we still need all the checks from rw_verify_area. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html