summaryrefslogtreecommitdiff
path: root/Documentation/block
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2021-09-10 12:51:42 +0200
committerJonathan Corbet <corbet@lwn.net>2021-09-14 14:50:41 -0600
commitf99b4fe27f7e4bc24c022d5ec62b90019e89999d (patch)
treeaabe79c2eef12ee3c2013949cb723dd8425dba28 /Documentation/block
parent31c9d7c8297558248e6b75be2615eedab4ba2d31 (diff)
docs: block: fix discard_max_bytes references
When discard_max_hw_bytes was introduced, in commit 0034af036554 ("block: make /sys/block/<dev>/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 <steve@sk2.org> Link: https://lore.kernel.org/r/20210910105142.2116749-1-steve@sk2.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/block')
-rw-r--r--Documentation/block/queue-sysfs.rst9
1 files 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)
----------------------