mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-03 13:04:01 +00:00
docs: block: fix discard_max_bytes references
When discard_max_hw_bytes was introduced, in commit 0034af0365
("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>
This commit is contained in:
parent
31c9d7c829
commit
f99b4fe27f
1 changed files with 5 additions and 4 deletions
|
@ -40,10 +40,11 @@ discard_max_hw_bytes (RO)
|
||||||
-------------------------
|
-------------------------
|
||||||
Devices that support discard functionality may have internal limits on
|
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 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
|
The `discard_max_hw_bytes` parameter is set by the device driver to the
|
||||||
number of bytes that can be discarded in a single operation. Discard
|
maximum number of bytes that can be discarded in a single operation.
|
||||||
requests issued to the device must not exceed this limit. A discard_max_bytes
|
Discard requests issued to the device must not exceed this limit.
|
||||||
value of 0 means that the device does not support discard functionality.
|
A `discard_max_hw_bytes` value of 0 means that the device does not support
|
||||||
|
discard functionality.
|
||||||
|
|
||||||
discard_max_bytes (RW)
|
discard_max_bytes (RW)
|
||||||
----------------------
|
----------------------
|
||||||
|
|
Loading…
Add table
Reference in a new issue