From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E134EC874D for ; Thu, 7 Sep 2023 18:38:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=X5fOGT6hnTJK573IuD04yd9SOfXqDxni4NBVfuWn3og=; b=WVlMmXsLWjv4yOFA02xpl6O5Xv UrueAzoZAGhzKf1BFp7OarYnLzqkVhDnIvovviuqwfCJ/NvppgSiRq8nZFopzkhnpSDju7pLBIhPE VgEW82p6YzqlZseKqRXjEYQoWZMFwM3g6FQhyp9PjTBgEAl3IIuQaeTpiAliwbmZOivvbnCvhswGm 5Afq6BuYceMlmv6VzL6ac4vRS0D2s3sm65stmCGFC98BP6gaZrfbREV8WSVDO2vRhs8WBQ1sqIlJC Nv35N/5p8zoPx7/GYg2NmrIjwgGVSCKqUCQtIHdDgTkdPvO5bbrOZRwoaQX4vHS4dGMZ6rBOfw5Aa HCJrPVKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qeJtz-00CZ2p-1a; Thu, 07 Sep 2023 18:38:51 +0000 Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qeJtv-00CZ21-28; Thu, 07 Sep 2023 18:38:47 +0000 Date: Thu, 7 Sep 2023 11:38:47 -0700 From: Luis Chamberlain To: Nitesh Shetty Cc: Jens Axboe , Jonathan Corbet , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Keith Busch , Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni , Alexander Viro , Christian Brauner , martin.petersen@oracle.com, gost.dev@samsung.com, Hannes Reinecke , Kanchan Joshi , Anuj Gupta , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v15 01/12] block: Introduce queue limits and sysfs for copy-offload support Message-ID: References: <20230906163844.18754-1-nj.shetty@samsung.com> <20230906163844.18754-2-nj.shetty@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230906163844.18754-2-nj.shetty@samsung.com> X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On Wed, Sep 06, 2023 at 10:08:26PM +0530, Nitesh Shetty wrote: > Add device limits as sysfs entries, > - copy_max_bytes (RW) > - copy_max_hw_bytes (RO) > > Above limits help to split the copy payload in block layer. > copy_max_bytes: maximum total length of copy in single payload. > copy_max_hw_bytes: Reflects the device supported maximum limit. > > Reviewed-by: Hannes Reinecke > Signed-off-by: Nitesh Shetty > Signed-off-by: Kanchan Joshi > Signed-off-by: Anuj Gupta Reviewed-by: Luis Chamberlain Luis