blob: 1e6de0ba4277578f13c5be7fb8bffd1c368d631b [file] [log] [blame]
From: Sergey Senozhatsky <senozhatsky@chromium.org>
Subject: Docs/ABI/zram: document zram recompress sysfs knobs
Date: Tue, 15 Nov 2022 11:03:14 +0900
Document zram re-compression sysfs knobs.
Link: https://lkml.kernel.org/r/20221115020314.386235-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
Documentation/ABI/testing/sysfs-block-zram | 14 ++++++++++++++
1 file changed, 14 insertions(+)
--- a/Documentation/ABI/testing/sysfs-block-zram~docs-abi-zram-document-zram-recompress-sysfs-knobs
+++ a/Documentation/ABI/testing/sysfs-block-zram
@@ -137,3 +137,17 @@ Description:
The writeback_limit file is read-write and specifies the maximum
amount of writeback ZRAM can do. The limit could be changed
in run time.
+
+What: /sys/block/zram<id>/recomp_algorithm
+Date: November 2022
+Contact: Sergey Senozhatsky <senozhatsky@chromium.org>
+Description:
+ The recomp_algorithm file is read-write and allows to set
+ or show secondary compression algorithms.
+
+What: /sys/block/zram<id>/recompress
+Date: November 2022
+Contact: Sergey Senozhatsky <senozhatsky@chromium.org>
+Description:
+ The recompress file is write-only and triggers re-compression
+ with secondary compression algorithms.
_