Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp142092lqr; Wed, 5 Jun 2024 01:16:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAsTOC00FDKIUYM45K6odDivDbjXIZlBVGT3D8gmYM61Tbhw2gqxJCxEVg8GHXfsKhB1ur6NnDaU7k+/HU5jLwPoAWg8aetvEVdXaqpg== X-Google-Smtp-Source: AGHT+IGbaJBkYCtfenBbMzMU1qiuetWZF1Y743/HVrVmEVwO/98MEdWFO6mOjBbq4SUeDItKZ7E6 X-Received: by 2002:a50:9ea5:0:b0:578:6484:24ff with SMTP id 4fb4d7f45d1cf-57a7a6a29a2mr4383144a12.6.1717575385126; Wed, 05 Jun 2024 01:16:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717575385; cv=pass; d=google.com; s=arc-20160816; b=ShmtLApmkarAB1aDW+C0RA1NTnsuZF30MCppdMat8k5zRyDcFblkWCNNFXdgSXHR/J ll/3XRJ8gR508KYpVt2fz7wXFW0sLoB5ULVZrcO9xAq4DhuMOOvK1dt6vFMpGkt/9hN3 FyFgvhNaNOnAs0+1SEY9Ka5qmdx307ed8Kli9Gmw4jdS28emLHcCzsz7QZqIEOGNRuY+ BJKUnSwX7yz6ebonSvNRUd4rFbKe8jZ+gMBfTZo+GeuNyRn+d9Bo84HZORjm7QJCI5R+ EL7NadrXENCCeDe853k+0MUg1oLzl+303rrriSBJOGJwLkoSWdsezrVbMFzK4hGV4Z1M MOXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=5dN0PkdKFOlVgXYg+yfnjvKHUUq2vSP7/QUgMWYomfk=; fh=To1Ctl3BSMvfp0y7jaiN7d9fNRXIzxP0CtV+CZmtuwk=; b=0B6+4K96Y7ZqPG+kf7Lxer7cNr5JzXrRhGVUoClWIj/C37+qjGIk61kVAdDlSnoOF9 gRefwFK58zapS/i+odj5dpznk9wz9RYc0M4i9jlDvIa3ZnBVMjKNON4w0xRH1Me4npbW HdJbFBvIQcksy0gelUumTazvlNtIDHSNxAXgMPmI0DoS0VfD9naus7AUSWERWSmu74S0 QzV+NEY+uS3tN50bqmMQWHRi8je+pHkwmLtDJQH9ZYe3Bfxg+eaZSZwVkIB881pedkU1 5veb9c2NcOWKGdk06PWrmgyEgvhtH9U1Lyk+p/0mY0izry1kJah/SRiX05YILeQNiDeT YwEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-201950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201950-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31b816basi5968290a12.90.2024.06.05.01.16.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 01:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-201950-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201950-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 61ECC1F2330F for ; Wed, 5 Jun 2024 08:16:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33EE918FDB6; Wed, 5 Jun 2024 08:14:16 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D94374965A; Wed, 5 Jun 2024 08:14:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717575255; cv=none; b=LtSukyoIV2LzCvnWrfZcywAkm7Az+MOIxrxElTxB/QpCoYKcsODHc36OxZcVJnEMiuDlYFkMJsHNssJyI9g+9ZHMePlXbZe20i6xoRY0b+UFFnrc4MqwPQ8Cek+Ku6SCrNeH1SERHGNQkEWXVyftFlTSpP1eUzcLqNHCeKqu78o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717575255; c=relaxed/simple; bh=82v2m1L+3skRACTF6tKIP0huvHsWjzrf7dlcSWAmHso=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=loWXAClV6+IU47xNgLJSo2hpLzGiC22dNIllmXuT8Xko4bVtbcuBkgr/hNfjmPg6E9xONnAfBN7GSqR8yH7VcK+MWwFspS6jgoGURFMs5tz/FAAa/8UyC9XA+xM817jf+xdYrzDt9ImmnTfQrtP18YIMkzdp1o5wMmspRpoqXsA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 14B8567373; Wed, 5 Jun 2024 10:14:08 +0200 (CEST) Date: Wed, 5 Jun 2024 10:14:07 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: Hannes Reinecke , Christoph Hellwig , Nitesh Shetty , Jens Axboe , Jonathan Corbet , Alasdair Kergon , Mike Snitzer , Mikulas Patocka , Keith Busch , Sagi Grimberg , Chaitanya Kulkarni , Alexander Viro , Christian Brauner , Jan Kara , martin.petersen@oracle.com, bvanassche@acm.org, david@fromorbit.com, damien.lemoal@opensource.wdc.com, anuj20.g@samsung.com, joshi.k@samsung.com, nitheshshetty@gmail.com, gost.dev@samsung.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, dm-devel@lists.linux.dev, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v20 00/12] Implement copy offload support Message-ID: <20240605081407.GA18688@lst.de> References: <20240604043242.GC28886@lst.de> <393edf87-30c9-48b8-b703-4b8e514ac4d9@suse.de> <5441b256-494a-4344-89fd-ee8c5a073f8b@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5441b256-494a-4344-89fd-ee8c5a073f8b@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Jun 04, 2024 at 04:39:25PM +0900, Damien Le Moal wrote: > > But I wasn't aware that this approach is limited to copying within a > > single block devices; that would be quite pointless indeed. > > Not pointless for any FS doing CoW+Rebalancing of block groups (e.g. btrfs) and > of course GC for FSes on zoned devices. But for this use case, an API allowing > multiple sources and one destination would be better. Yes.