Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1369975pxb; Fri, 10 Sep 2021 04:32:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxN/8EF2PmxZPlQ0dZX2za8LCwi7O9t9N2lRqvM+OM0gP/iVfzFs5lnHUfXc5druoyot4U X-Received: by 2002:a6b:3f02:: with SMTP id m2mr6528382ioa.136.1631273569342; Fri, 10 Sep 2021 04:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631273569; cv=none; d=google.com; s=arc-20160816; b=HkVFf1HU6tDHxsND8/2+yS9oDydXg1mzc43y4iWTGCaocXf/ht2dL2pLuDyo+UOSyv AzdlvGZP3Yy3YWj+MTQTfAGXQS4MtyC62p43nOxyU8T+DO0TsGbJLizvcLzFohuwMji8 3czVAp8MIWizmAkUJRCTUh00vDPhTNsS+Bh9DVPfA+M5q+UMGtxu2olLlUZuYcOynvdL Ih/qO03AOmR+iW1ZqSK7dMS01JS6R9r0LeIn9WtfzW+lWy4UJIeQpyONOxZkYjqv+ITZ owi8wznpkPPvTqqeF3djTr1LXWAY36BbeHGZz/FDb+cBmT5KOjljXhLYudnHtYhqfZqH YfbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=uoaDfAPD9SfXIvzjahqalQl3BNNNXnNh3lfAB8BAlic=; b=0kn5GI5hz0Nqdz2v7a5fbwqaoW3Xzv+rTNv3l1P58Rm3P4w7pJkPxPgY1sg4IscPOy YU6msfAPd4mA+QbQCEglgMiGJeCl/wzXN+VIOkj4Nm1U1dGpw7gxr6M/hwjs1RA3wDht wVxRuD8mH4p7KN7TdeHvyMrpksSF+45p5VGJaIWk4C6zKOYcvXoCHKVLJLZYVbc2aLHV nq9KOBda1gKtTQeiUAq4Ug178zKjZ8GqMWWIb7BVC89f/l4RRsJiYb4jl1WTD3tWEurV spjyLWC+PKKsR3akEj4TxtkJcQmm/gFXxjTUNpaP6kinYUS0raqjSVrwpULGk+L9YKCM PShg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q20si4536693ilj.61.2021.09.10.04.32.36; Fri, 10 Sep 2021 04:32:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232773AbhIJLdG (ORCPT + 99 others); Fri, 10 Sep 2021 07:33:06 -0400 Received: from 3.mo178.mail-out.ovh.net ([46.105.44.197]:37253 "EHLO 3.mo178.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232613AbhIJLdG (ORCPT ); Fri, 10 Sep 2021 07:33:06 -0400 X-Greylist: delayed 1202 seconds by postgrey-1.27 at vger.kernel.org; Fri, 10 Sep 2021 07:33:06 EDT Received: from player758.ha.ovh.net (unknown [10.109.146.132]) by mo178.mail-out.ovh.net (Postfix) with ESMTP id 8F5C6D9795 for ; Fri, 10 Sep 2021 12:51:54 +0200 (CEST) Received: from sk2.org (82-65-25-201.subs.proxad.net [82.65.25.201]) (Authenticated sender: steve@sk2.org) by player758.ha.ovh.net (Postfix) with ESMTPSA id BA65621F68EE9; Fri, 10 Sep 2021 10:51:49 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-97G0024541a0f2-7580-44e4-9d72-f6fc93e3f470, C73725976D6A61EA55E4E62C2A2E1C1EB10F42AA) smtp.auth=steve@sk2.org X-OVh-ClientIp: 82.65.25.201 From: Stephen Kitt To: Jonathan Corbet , Jens Axboe , linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Stephen Kitt Subject: [PATCH] docs: block: fix discard_max_bytes references Date: Fri, 10 Sep 2021 12:51:42 +0200 Message-Id: <20210910105142.2116749-1-steve@sk2.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 4092083213097797254 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvtddrudeguddgfedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefuthgvphhhvghnucfmihhtthcuoehsthgvvhgvsehskhdvrdhorhhgqeenucggtffrrghtthgvrhhnpeetgedugfelkeeikeetgeegteevfeeufeetuefgudeiiedthfehtdeffeekvdeffeenucfkpheptddrtddrtddrtddpkedvrdeihedrvdehrddvtddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeehkedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehsthgvvhgvsehskhdvrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When discard_max_hw_bytes was introduced, in commit 0034af036554 ("block: make /sys/block//queue/discard_max_bytes writeable"), the discard_max_bytes documentation section was renamed to discard_max_hw_bytes, but the references it contains to discard_max_bytes weren't updated. This patch refers to discard_max_hw_bytes instead. It also reflows the paragraph so that sentences end lines. Signed-off-by: Stephen Kitt --- Documentation/block/queue-sysfs.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/block/queue-sysfs.rst b/Documentation/block/queue-sysfs.rst index 4dc7f0d499a8..5fb4299cdb23 100644 --- a/Documentation/block/queue-sysfs.rst +++ b/Documentation/block/queue-sysfs.rst @@ -40,10 +40,11 @@ discard_max_hw_bytes (RO) ------------------------- Devices that support discard functionality may have internal limits on the number of bytes that can be trimmed or unmapped in a single operation. -The discard_max_bytes parameter is set by the device driver to the maximum -number of bytes that can be discarded in a single operation. Discard -requests issued to the device must not exceed this limit. A discard_max_bytes -value of 0 means that the device does not support discard functionality. +The `discard_max_hw_bytes` parameter is set by the device driver to the +maximum number of bytes that can be discarded in a single operation. +Discard requests issued to the device must not exceed this limit. +A `discard_max_hw_bytes` value of 0 means that the device does not support +discard functionality. discard_max_bytes (RW) ---------------------- base-commit: 7c60610d476766e128cc4284bb6349732cbd6606 -- 2.27.0