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 476F213D636 for ; Tue, 4 Jun 2024 04:31:46 +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=1717475507; cv=none; b=pYK9E9Bacvp3XVeoxdvXwXnOXIVUHznRnKKcF9Ndh9vI692QudeEHX+f5PBDA+1tSkM48pz02ZJk33u0DcIj+dpTY3OG9lLc2aN1NqUQWVICEEJiBeOxxVRHcPI7Dv6Z1r8fiMQiVUgXzqiU64LUFCnfTr2xBZFynL5TAnwG3Cg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717475507; c=relaxed/simple; bh=+P6lCzxMtgkTSM7bfvrnPizzmdH3bqAUPXp7C4X6W4g=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=qi1r/xo4NnCYN2c5LXAE/ArRYwpOL/R58Q0QVLEoRiIcZFUd77Yc6sNqJYhNYvIVXyp2NnEmEVBvmckdDJeOAUSzpKuyL+G7b8CKjReUXdpXtktaOG1iuJrhDjY/dVHTcMw1XWr2c8brV9oankj+n95uKx+vGG18NM5hpqlBf64= 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 2831268D12; Tue, 4 Jun 2024 06:31:43 +0200 (CEST) Date: Tue, 4 Jun 2024 06:31:42 +0200 From: Christoph Hellwig To: Nitesh Shetty Cc: Christoph Hellwig , 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, 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 Subject: Re: [PATCH v20 01/12] block: Introduce queue limits and sysfs for copy-offload support Message-ID: <20240604043142.GB28886@lst.de> Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Jun 03, 2024 at 06:43:56AM +0000, Nitesh Shetty wrote: >> Also most block limits are in kb. Not that I really know why we are >> doing that, but is there a good reason to deviate from that scheme? >> > We followed discard as a reference, but we can move to kb, if that helps > with overall readability. I'm not really sure what is better. Does anyone remember why we did the _kb version? Either way some amount of consistency would be nice.