summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2020-01-20 13:29:49 +0300
committerJonathan Corbet <corbet@lwn.net>2020-01-24 19:52:05 +0300
commit5871023c3a316e8fe8c03e7bad1d35057e69ab40 (patch)
treecdf9ecdf26166c7f9e834727a07c90d53848ce06
parenta3e1c56a0b8f3b83807d67db4c3bdb6292a54dce (diff)
downloadlinux-5871023c3a316e8fe8c03e7bad1d35057e69ab40.tar.xz
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>
-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::