zram: correct documentation about sysfs node of huge page writeback
authorYue Hu <huyue2@yulong.com>
Mon, 20 Jan 2020 10:29:49 +0000 (18:29 +0800)
committerJonathan Corbet <corbet@lwn.net>
Fri, 24 Jan 2020 16:52:05 +0000 (09:52 -0700)
sysfs node for huge page writeback is writeback rather than write.

Signed-off-by: Yue Hu <huyue2@yulong.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Link: https://lore.kernel.org/r/20200120102949.12132-1-zbestahu@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/admin-guide/blockdev/zram.rst

index 89d49a0..27c77d8 100644 (file)
@@ -319,7 +319,7 @@ To use the feature, admin should set up backing device via::
 before disksize setting. It supports only partition at this moment.
 If admin wants to use incompressible page writeback, they could do via::
 
-       echo huge > /sys/block/zramX/write
+       echo huge > /sys/block/zramX/writeback
 
 To use idle page writeback, first, user need to declare zram pages
 as idle::