From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anna Schumaker Subject: Re: [PATCH v5 7/9] vfs: Remove copy_file_range mountpoint checks Date: Wed, 14 Oct 2015 13:41:23 -0400 Message-ID: <561E93C3.2090507@Netapp.com> References: <1443634014-3026-1-git-send-email-Anna.Schumaker@Netapp.com> <1443634014-3026-8-git-send-email-Anna.Schumaker@Netapp.com> <20151011142347.GD31867@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , , , , , , , , , To: Christoph Hellwig Return-path: In-Reply-To: <20151011142347.GD31867@infradead.org> Sender: linux-btrfs-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 10/11/2015 10:23 AM, Christoph Hellwig wrote: > On Wed, Sep 30, 2015 at 01:26:51PM -0400, Anna Schumaker wrote: >> I still want to do an in-kernel copy even if the files are on different >> mountpoints, and NFS has a "server to server" copy that expects two >> files on different mountpoints. Let's have individual filesystems >> implement this check instead. > > NAK. I thing this is a bad idea in general and will only be convinced > by a properly audited actual implementation. And even then with a flag > where the file system specificly needs to opt into this behavior instead > of getting it by default. > So I should drop this patch even with the pagecache copy? Andy Adamson will have to add it in later as part of his server-to-server patches. Anna