aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/blockdev/zram.rst
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2020-01-20 18:29:49 +0800
committerJonathan Corbet <corbet@lwn.net>2020-01-24 09:52:05 -0700
commit5871023c3a316e8fe8c03e7bad1d35057e69ab40 (patch)
treecdf9ecdf26166c7f9e834727a07c90d53848ce06 /Documentation/admin-guide/blockdev/zram.rst
parentDocumentation: zram: various fixes in zram.rst (diff)
downloadlinux-dev-5871023c3a316e8fe8c03e7bad1d35057e69ab40.tar.xz
linux-dev-5871023c3a316e8fe8c03e7bad1d35057e69ab40.zip
zram: correct documentation about sysfs node of huge page writeback
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>
Diffstat (limited to 'Documentation/admin-guide/blockdev/zram.rst')
-rw-r--r--Documentation/admin-guide/blockdev/zram.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/blockdev/zram.rst b/Documentation/admin-guide/blockdev/zram.rst
index 89d49a0d45fc..27c77d853028 100644
--- a/Documentation/admin-guide/blockdev/zram.rst
+++ b/Documentation/admin-guide/blockdev/zram.rst
@@ -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::