Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2748956lqo; Mon, 20 May 2024 15:57:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMlan6hQ8o8GimcQ2ZKT+nNY736Km23VNqHj9C33TlKGCKS9QtBB1dIQqONQUdFGcvYYvCmEv76u3UMpOToMNHxwYpLK4dG7RvoZsKQA== X-Google-Smtp-Source: AGHT+IGx/uynFZiDGHjqSZ4ZP1VAp1sbmoIR8dRKLJM1WCTMIQlBK4kuSm9PJT4FTAuFCC1wt4Vr X-Received: by 2002:a17:907:1b11:b0:a5d:1bbf:a95d with SMTP id a640c23a62f3a-a5d1bbfaa4dmr604813966b.10.1716245830502; Mon, 20 May 2024 15:57:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716245830; cv=pass; d=google.com; s=arc-20160816; b=R/cegrdP/uEaP6JtXN6xdM05/YjUkAiecPrp+keOSlBKXb1sHs+OfHbgN3p3VgEUdf elYkLbMB3ZfLMJgWDK2jWhH3RvB91ZFltt+2G9ZOXDnvek5b8vz0UQmq3QNyut5tDKfU uKr1S9e+Fog109bRRbrkFdy9wzIPprqJ0Io3OQMD4QYCqpmjxRd4ZVDvpvHpmO20c9UB XVh9rnSSqLLo7naCH4gqSAiW/tGQJGmzoVZPSVlCiJlB7gcHaLIblUTM+LJKf2WfBhFN gHd5suiYuz0PShRRWoFqaBPsNfR9ClTEXhuibKU6bDdCs0g2j4xwYyJtw+i2PONUrZ8V h4Ag== 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=ditZiWOn7hLJUcVL8ZGmOB5KFrac2puNeESvY7Sy76I=; fh=3kSadvIci7cDegCuFUDIceLHOFyveQD31FWI/lPNS30=; b=ZV5Mt1WPMrPMT8bddQevd0avUk8Gsq2x3+SYd2llyBEskDs3M0m4+uu7O2ufV2zn6O 0SpznZGub27+bs8EfIQ4IHyTPt3lk3F+BnPaew630UEOkK+FEoxlN71GAyXEWZ6QW7il jyXQcmnyHLZ9lmTgL+nYp7XReu9bMz60JYSBUcZlOKE6MgSmPMHlr2+inhHk/5yiEAh6 Q1eAoYDE0RZtmUBvvY2VdFBAEybKKOLbZgUBqjsG4da4zyl1Q+7rk23zcijecquFszdV q/NowzYOS/a225GgghN4uod4RL0oht2F4PKLI9ytbPTRaYbPLCo1wQQHBVpEu1KKVzlL 4qWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=N76ds2Vd; 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-184280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184280-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a179468a6si1367623066b.117.2024.05.20.15.57.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:57:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184280-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; dkim=pass header.i=@acm.org header.s=mr01 header.b=N76ds2Vd; 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-184280-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184280-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3DBD21F21E9A for ; Mon, 20 May 2024 22:57:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B12813A3EE; Mon, 20 May 2024 22:54:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="N76ds2Vd" 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 19989139562; Mon, 20 May 2024 22:54:32 +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=1716245674; cv=none; b=Sudlx/+eDac3JGSsMcz+h4ks6tc8RNGXYfX/l/9tt2Qiqtni2iHkDyPg+i+2rEiMaiIH2tn6ic1efJbSefKKWjGCXBVm/xnCO1FoG/h+nVYuKY+vilhbXyJfoGxmmZ9VnM19oK++ueLPmVGFtSLHL6lIF2b0IUw/abo8b6Yv7Ig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716245674; c=relaxed/simple; bh=ECRSw6YGQVTPe0gy0dYCsLe8oTWHc9F2P3oJ7mZ9HJU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=q6ugkNXMuHZIx5Sg8EmEsRi9XZVfjVEOnf0oWNkE4OVcWnWlJLhfTvfn73YaEPmB+1Al3IKMTL5qrPIMnjK+mEKD0m4bZOvMZvS6GH7G5VqzDSU00fCuSasIG+W0hL2oxAh8sx8CbNVVUzW3X/sKGvQJTg5XMqNSub2Tl7r/FHg= 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=N76ds2Vd; 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 4VjtDS1LFmz6Cnk8t; Mon, 20 May 2024 22:54:32 +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=1716245664; x=1718837665; bh=ditZiWOn7hLJUcVL8ZGmOB5K Frac2puNeESvY7Sy76I=; b=N76ds2VdkoJmHd1jG09JVM0JcdkE4e8L/BR83/0u cH1cBSsqz73IdPb13CN2jkZ1TxKhGzjF7KpzQKYU4Jfzcf6sC/RDGQJ/BPLgh/mF UQ7mu0Rpcr8kINyu6mA3/XZL0KRNO/YLyH9Cqd8NNKmFVk9EAKPIz4PKqDyiljLs T6hX7k66/7ckCKqP+3Nd0t7czRyRhfDIjbCa2KoV+v6kmiY4bglg5iKxBJRJvy5V jBGqqWIweAoEnGOAcRt3yADoAdBj7+nghVxqqCh0rjL7BtrdX5VcA3Q9vfRLVXor 3Tao430X8PGm+xlT0M2i6oao9GfyD6XGmA0vS5cLE1KzFg== 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 hlmfe--IqVC7; Mon, 20 May 2024 22:54:24 +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 4VjtD956Wjz6Cnk8s; Mon, 20 May 2024 22:54:17 +0000 (UTC) Message-ID: <87f92553-04dc-48c9-be8b-f7fd4cd259b2@acm.org> Date: Mon, 20 May 2024 15:54:15 -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 00/12] Implement copy offload support 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> Content-Language: en-US From: Bart Van Assche In-Reply-To: <20240520102033.9361-1-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: > 4. This bio is merged with the request containing the destination info. bios with different operation types must never be merged. From attempt_merge(): if (req_op(req) != req_op(next)) return NULL; Thanks, Bart.