]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
zram: rename writeback_compressed device attr
authorSergey Senozhatsky <senozhatsky@chromium.org>
Thu, 26 Feb 2026 02:54:21 +0000 (11:54 +0900)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Mar 2026 17:44:23 +0000 (09:44 -0800)
commitba4c3698e6963eacd8e7c86c13343631bfeabe55
tree6882f4999a0bca22a380d8fde8bfd91fe89a551c
parent5548dd7fa84510f7bbce67c35cc3b388c86aeddf
zram: rename writeback_compressed device attr

Rename writeback_compressed attr to compressed_writeback to avoid possible
confusion and have more natural naming.  writeback_compressed may look
like an alternative version of writeback while in fact
writeback_compressed only sets a writeback property.  Make this
distinction more clear with a new compressed_writeback name.

This updates a feature which is new in 7.0-rcX.

Link: https://lkml.kernel.org/r/20260226025429.1042083-1-senozhatsky@chromium.org
Fixes: 4c1d61389e8e ("zram: introduce writeback_compressed device attribute")
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Suggested-by: Minchan Kim <minchan@kernel.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Brian Geffon <bgeffon@google.com>
Cc: Richard Chang <richardycc@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: "Christoph Böhmwalder" <christoph.boehmwalder@linbit.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: Philipp Reisner <philipp.reisner@linbit.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-block-zram
Documentation/admin-guide/blockdev/zram.rst
drivers/block/zram/zram_drv.c
drivers/block/zram/zram_drv.h