Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7064972pxb; Wed, 17 Feb 2021 23:47:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcpNfJy2XdC6x5Ug2yxBvrnQk/CMeQKEuQnjQJvSHfU+n0uxhrVOqy4NdDas2REjWCcPf/ X-Received: by 2002:aa7:ce99:: with SMTP id y25mr2685125edv.167.1613634470430; Wed, 17 Feb 2021 23:47:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613634470; cv=none; d=google.com; s=arc-20160816; b=ZBDLsMCnqdr99mgzuF9iwRHB+UqdA27MJGPcooCdGqdJYQuF8DHw4nZVcD22vgJi8t HdYaAk+YeR8BlQ4cC50Iz1wrUueR0aJnxbzoWhz9s4Q5owDtETxmDkHA9v14Z+7QOS33 Ecjz1ngVumVueJ2Awf4By2nynn5B/XNt71Ke5V+z47b2ev5kx6ITfejKhJ0+wFmkiukO pc4yzMaYIZoONcbpjzb3OcuXKrVeD2dabQBu8MA+CitqJq92sca2WcD0VHXoUPhvXDpD ezb5QsXfIOLNgqljeFRMKH2lzOViix+/8/qtoqxHBPVs//HKHwWWnrGld4B/Hb4PH/Gz F86A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mZKmyMBoFtbztfFABY/ghh/w9RSwZqEFrZcUD41TwBM=; b=JjP7Lxi+AFdOc6ELDnBzVBEVrKtVgOHCXCYKZm0s9sm14HRbdeCrnJ0kl1n5pnq5Jl 6zYImHwb3UCzBb+GqQxG9AXn4J3yClPsC9LIcUlm5LHwmyOo03JPpDb0XUbvaDiJiEPT z7Wk/dFQ9gEwUJeGZviwolLAr4dHX+Wjw04Z2urtzq3BkhpvDyWwbY7Jht2j5MHwBISu iUaWZcuRBX0ayNyWy3d/VQtatLQdUFPeRVeFQ8+sakTy+wZinUoHSIkrVkwaIOyIH2Zb /DbdMNpMZgZQ2XB2uaSkqgKwXs8+AQjhZNpTpGHk1ifLbiewkq87hGwzcSyP6vd0om3N KIlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=NR2Kuw5G; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si3343985edi.144.2021.02.17.23.47.24; Wed, 17 Feb 2021 23:47:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=NR2Kuw5G; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbhBRHqh (ORCPT + 99 others); Thu, 18 Feb 2021 02:46:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbhBRHnZ (ORCPT ); Thu, 18 Feb 2021 02:43:25 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68565C061756; Wed, 17 Feb 2021 23:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=mZKmyMBoFtbztfFABY/ghh/w9RSwZqEFrZcUD41TwBM=; b=NR2Kuw5GHI8Ltkju70NOS/E+Vc GIsUGB16gfua9MjaNDOuKCVgSYghs6gwn9TXap4xA3BjM1nu3TeJ4irbThgbg/uJ0Srp1Ad6plT9E Am98qX6QIMqBzRTns7b77v+dRhkUDfPwtRdqIajgIq0PiU/NXt+9eHTkX/un/biM0loOmF54E+GlC dqPJ7mhuxfgeSfylc8QeVGyKYWB7fHhq+8uFHaTn/5COe4xRVhYtR3rToFaL4m9mlSv3y4peWyxfy GCJ4NU5xAxiJbXel6/4BEcVPM8Aa5j2tkLPQ8JzZgvtynnAfH49jl/QA1xrPBw0e0Vfj4b+gUVYDV 9GkUN3PA==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lCdwt-001No9-Nr; Thu, 18 Feb 2021 07:42:08 +0000 Date: Thu, 18 Feb 2021 07:42:07 +0000 From: Christoph Hellwig To: Luis Henriques Cc: Amir Goldstein , Jeff Layton , Steve French , Miklos Szeredi , Trond Myklebust , Anna Schumaker , Alexander Viro , "Darrick J. Wong" , Dave Chinner , Greg KH , Nicolas Boichat , Ian Lance Taylor , Luis Lozano , ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH v2] vfs: prevent copy_file_range to copy across devices Message-ID: <20210218074207.GA329605@infradead.org> References: <20210215154317.8590-1-lhenriques@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210215154317.8590-1-lhenriques@suse.de> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Looks good: Reviewed-by: Christoph Hellwig This whole idea of cross-device copie has always been a horrible idea, and I've been arguing against it since the patches were posted.