]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
zramctl: (man) fix streams default number
authorKarel Zak <kzak@redhat.com>
Fri, 23 Apr 2021 11:01:57 +0000 (13:01 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 23 Apr 2021 11:01:57 +0000 (13:01 +0200)
References: https://www.kernel.org/doc/html/latest/admin-guide/blockdev/zram.html#set-max-number-of-compression-streams
References: https://github.com/torvalds/linux/commit/da9556a2367cf2261ab4d3e100693c82fb1ddb26
Fixes: https://github.com/karelzak/util-linux/issues/1283
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/zramctl.8.adoc

index c45d6f9f304c4cd0af9a24c96dbf10a2cdc7931e..7b684ed44439ebab30427477bdcfd06f6578fc83 100644 (file)
@@ -65,7 +65,7 @@ Create a zram device of the specified _size_. Zram devices are aligned to memory
 The _size_ argument may be followed by the multiplicative suffixes KiB (=1024), MiB (=1024*1024), and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is optional, e.g., "K" has the same meaning as "KiB") or the suffixes KB (=1000), MB (=1000*1000), and so on for GB, TB, PB, EB, ZB and YB.
 
 *-t*, *--streams* _number_::
-Set the maximum number of compression streams that can be used for the device. The default is one stream.
+Set the maximum number of compression streams that can be used for the device. The default is use all CPUs and one stream for kernels older than 4.6.
 
 *-V*, *--version*::
 Display version information and exit.