docs: block: fix discard_max_bytes references
Subsystems (2)
PATCH 1/1 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.
--- Documentation/block/queue-sysfs.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Documentation/block/queue-sysfs.rst +5 -4
@@ -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
Signature · 1 line
2.27.0
Quoted 6 lines · Stephen Kitt
When
discard_max_hw_byteswas introduced, in commit0034af036554("block: make /sys/block/<dev>/queue/discard_max_bytes writeable"), thediscard_max_bytesdocumentation section was renamed todiscard_max_hw_bytes, but the references it contains todiscard_max_bytesweren't updated.
Quoted 7 lines
This patch refers to
discard_max_hw_bytesinstead. It also reflows the paragraph so that sentences end lines.Signed-off-by Stephen Kitt <[email protected]>--- Documentation/block/queue-sysfs.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Applied, thanks.
jon