Commit 5871023c authored by Yue Hu's avatar Yue Hu Committed by Jonathan Corbet

zram: correct documentation about sysfs node of huge page writeback

sysfs node for huge page writeback is writeback rather than write.
Signed-off-by: default avatarYue Hu <huyue2@yulong.com>
Acked-by: default avatarMinchan Kim <minchan@kernel.org>
Link: https://lore.kernel.org/r/20200120102949.12132-1-zbestahu@gmail.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent a3e1c56a
...@@ -319,7 +319,7 @@ To use the feature, admin should set up backing device via:: ...@@ -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. before disksize setting. It supports only partition at this moment.
If admin wants to use incompressible page writeback, they could do via:: 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 To use idle page writeback, first, user need to declare zram pages
as idle:: as idle::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment