Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1365721lqj; Mon, 3 Jun 2024 21:32:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUF2kEOhNJRSRePpe6B8pXAlyIY5wnsXqdpwdMT2EAu9X91yehJZhSHfLULDf0AnotpF8+0YhXAKs5d7WW/k/cHL6qpH95mYtWB9eRKtA== X-Google-Smtp-Source: AGHT+IH8atER0ZcoAgI9f98pTxQChv2V16m8XxbRYl8nZbpZLRH0GJBdNkFRjpf0lbkcOyfuxE9h X-Received: by 2002:a50:9348:0:b0:572:4fc3:3a28 with SMTP id 4fb4d7f45d1cf-57a363ab2a3mr6864292a12.23.1717475522759; Mon, 03 Jun 2024 21:32:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717475522; cv=pass; d=google.com; s=arc-20160816; b=sEfpGZrvyN5/hiTTDbrU472BA2FTfsbJJY204aUaZgdvvAYph/qnmx+dqXjgcPYcBn ECpNu5iZZJ+ozepKTaxxaUtHOBA1HCNWhwuk3KIvQ5zOBevjlIu2Ux/0C164/D8fnez/ aV9JS3rXRpfoiYF9gtpsM9RgLpMjgYGsvg++RYkK8IRe/e2ATp0+Th3jZ9+JQs9Zc6dp 7uWekXZqBdX0paYpyEcCI0ZLo5hnIeOO0a9aYFWrufqDjdCbq2Lodyxy6D4eURzRfmi2 vu1HDejsU3m0TExAi6fmMyec+zOgZWYR3LTtxCQ13jsr8zw/Qf01qCw3mnVgR4K+Q4/L EzOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date; bh=uPOnAz+kVeBEpH0vXR2iEyueShM0hCxOPL5dZCgxBUk=; fh=/zE+TFRojMi64IyxvB04VBF8wAHUQai5UlddjTr1wbA=; b=dFxmsC7JbjqdpnoDiuRz0MZb5yoR19YTGERnckHJGU+HHA9AgFmdEv5OCR33DIg9ft yZAgZG+7A+lGIzkSGiVYMrCD2RIl0SIXqrJrgIopjgQ+FrYAaZW+296DNvKXlHn56kHb UXChGlpokIAY/P48T8nm4QR/HlSpTn2MME6fFcjyIol7KrN4zCMToQ5/luMrnHtY2SLI IND7oKfRBcOAOLwys/YLcWV0SxcR8pXPDmeY2DePg5nKZ3loOvZwQouWLFImeH50N7IU T7T634TALRu5wFfdhiD1cXqZWBRcKKNW5KGN/bH/D30SIHtygDgir87A6koq8PvHzsAw 2f4Q==; 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-200018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200018-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a81dfc8e5si208707a12.399.2024.06.03.21.32.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 21:32:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-200018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200018-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 7810C1F221FB for ; Tue, 4 Jun 2024 04:32:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7ED4C13DBA0; Tue, 4 Jun 2024 04:31:49 +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 BC53D13D639; Tue, 4 Jun 2024 04:31:47 +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=1717475509; cv=none; b=shUbwzMFeCdYAbv2PFjDx/2JkLd1/X84M5pZD56Tn0OOD7WahsUdBbnc7r4zZX8jV1v/rB+5CW43U0cdDx88CaPEMA1X7UjcKxyH9+NzmLcjBtauE5ocmQ3X+cEk/GcuF32wMmQvs1CDibThBlbQmlcQB8He9qn5Sb2RDTczoeo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717475509; c=relaxed/simple; bh=+P6lCzxMtgkTSM7bfvrnPizzmdH3bqAUPXp7C4X6W4g=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=lHg/lI1wmHaeo3EueASAirCMGtHqoODqEA5Jh7Xe8P+656+6g9GLEfWKqKgWCm3SGJ+/ADjFf384ONT4vQ8BI/6rNUDgHqHxrUfxqe37/AqnLJvoU1OVXL2WHV72uu0+Wy0uRvNs/zgXNOBCYc2+Bpm613KU/AVFeUZzlQHue7w= 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: 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 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.