Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2760182lqo; Mon, 20 May 2024 16:25:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXctQFQQ8pk1aJ+aA19co9ZmT4JZ12eXUY2U2J++P86VChWu7AMHIdVGXLLWXY6DClcpLzdE5l5SQbsHbEETfKSaQxVAPRJNtadAjEjbQ== X-Google-Smtp-Source: AGHT+IEIPNRWSpl89t9FN1yPVkmilgCcA1WXU1KfC8LFzClJ/1YCZolDQfFxohu6G9SKUmfgCl1r X-Received: by 2002:a05:6a20:f397:b0:1af:d0bc:d149 with SMTP id adf61e73a8af0-1afde0a8d01mr29896682637.6.1716247543818; Mon, 20 May 2024 16:25:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716247543; cv=pass; d=google.com; s=arc-20160816; b=nDqR6QoZBIAe1AGeoLZSy0J/eeOwt3zisUUwdNgkjn5nO2+NCQQpZFlKZtu4kUu4pV WF0TZ1as3+MH/OrRueNhcDmgCofcynm6im6sXfOvi8mOrSAcby3PyOzju8GaTZY+pUl4 G51EN7yTBvoqzfLec8brmxvltQxIa3CMaqS0TP4ui34FwjRw6DWzMynmxfQVqSw0sURL sotTuk6vQEOD2bUdz9H4WOsptdXaBHAMWLttGjDUe6t442j4RYqEM3/2TgnULYKBLQMM 2VofmIXvmzQQRO5Id+m8cZx+mkkdM1T+z1prFyhkJXii/KGkiU62mdDnVx7g93y656T3 PEYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=ijJgz4CBGLhb/HVy0yww/S8sCF0i5ebWHafePyrDQfQ=; fh=3kSadvIci7cDegCuFUDIceLHOFyveQD31FWI/lPNS30=; b=XHJ0mbDGIKq0qowCqXlRhKv/f13NfMUXdDytMyJrNtmCxRVdG99wCVATI5TCgTLp1R dMI1o8XroFsQaCPJ6oZ/meWqWGEiRWQ0WcTxDdPWzK7+Vc5S/CQDejl7vxzw60qR9MUH A5m40g3V1942EeJvTj9cJVEjgSL0o+6UOlWx5yJeAuSwh0DvPaOrqArpw7b2NYAfsZuq MVD14UMOcIhyKhMmlbvzm8w49XiSwSrFf2Lp2LKK9XJ5M3G9zEXivZin/UtPMbWCWPT7 CEoSoBJLA1yLuFWYgMj5YPSLRUj8ix2LAy3OlWBq42/BK/ZZxeP4QBE1dlCfLSoWjff5 d/hA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b="1/EwDtHV"; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-184295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a72361si3619834b3a.66.2024.05.20.16.25.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 16:25:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b="1/EwDtHV"; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-184295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8261C281EAF for ; Mon, 20 May 2024 23:25:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CB64139CE1; Mon, 20 May 2024 23:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="1/EwDtHV" Received: from 008.lax.mailroute.net (008.lax.mailroute.net [199.89.1.11]) (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 78EAB13848B; Mon, 20 May 2024 23:25:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716247519; cv=none; b=bYXsyCAuZblid7TDgOvj1VcR0BGdnrSK2xKCSXkxA2h5KVmPvW31zEtlOec5Kf+QwogNx7bM/DIPQbgIT4nCwjN5CV8PckDNoyDQ01JPF6t/FBiUG8U4MWaZpG6TF9gUyWsiFL76seDA6s1BK7/Pd7quFgY4+9caX4ZZNXxvynA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716247519; c=relaxed/simple; bh=ijJgz4CBGLhb/HVy0yww/S8sCF0i5ebWHafePyrDQfQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZZ7agw5cMe1O/WoDLQ6MzIV5ciGl9YPQtSB2uE3OcU8AaR2rczAmCI2NPuzxVBPiG0HIeiHpzwXlGjyds1dtYVLKKnpNnnNtHOleWGwEziXBpQphkrh+MfYghJ8k+OqVDBgwcmhlt6Q0fE3wBLZ3XOJRnVx2XhMWLbCnsRMUDAM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=1/EwDtHV; arc=none smtp.client-ip=199.89.1.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 008.lax.mailroute.net (Postfix) with ESMTP id 4Vjtvx5QCMz6Cnk8t; Mon, 20 May 2024 23:25:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1716247511; x=1718839512; bh=ijJgz4CBGLhb/HVy0yww/S8s CF0i5ebWHafePyrDQfQ=; b=1/EwDtHV0WPmqtf8mplzj1czPHU6HOd2g2nDQaoh J166e8sXbsEPka3Wveo2nm0+5su3HFv//Qve0LRX9/AHRWrDeFlAqfmcFr/37feT NHzJVUf9VZxQE76xUSi0cEaT9pmXVrXbTKuc1Lwh5wTk3CX9LuuCE8CSSkpoVVpt BhrLRwGJ1cig5Jr6kZixW2G72zykgYIPibiIFxmsk6lcvlqUAENMezqYJ+OfAUxp FYtzfptMZcNSFCbbQD2xbhDLRNyYeRlcp7MQ/nw5ORwEv4qSGgjWTtRtn8zXFra0 0GdpBdqmsAh/XgGsKgSiovwE+jMaenvMaMg4dc2gL4DNRQ== X-Virus-Scanned: by MailRoute Received: from 008.lax.mailroute.net ([127.0.0.1]) by localhost (008.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id q3O6tu1vG9Fr; Mon, 20 May 2024 23:25:11 +0000 (UTC) Received: from [100.96.154.26] (unknown [104.132.0.90]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 008.lax.mailroute.net (Postfix) with ESMTPSA id 4Vjtvh4pRCz6Cnk8s; Mon, 20 May 2024 23:25:04 +0000 (UTC) Message-ID: <017a9853-6e42-4250-9cfa-1d6ad5786556@acm.org> Date: Mon, 20 May 2024 16:25:02 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v20 10/12] dm: Enable copy offload for dm-linear target To: Nitesh Shetty , Jens Axboe , Jonathan Corbet , Alasdair Kergon , Mike Snitzer , Mikulas Patocka , Keith Busch , Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni , Alexander Viro , Christian Brauner , Jan Kara Cc: martin.petersen@oracle.com, david@fromorbit.com, hare@suse.de, 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 References: <20240520102033.9361-1-nj.shetty@samsung.com> <20240520102033.9361-11-nj.shetty@samsung.com> Content-Language: en-US From: Bart Van Assche In-Reply-To: <20240520102033.9361-11-nj.shetty@samsung.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/20/24 03:20, Nitesh Shetty wrote: > Setting copy_offload_supported flag to enable offload. I think that the description of this patch should explain why it is safe to set the 'copy_offload_supported' flag for the dm-linear driver. Thanks, Bart.