Skip to content

Commit

Permalink
zram: correct documentation about sysfs node of huge page writeback
Browse files Browse the repository at this point in the history
sysfs node for huge page writeback is writeback rather than write.

Signed-off-by: Yue Hu <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
Yue Hu authored and Jonathan Corbet committed Jan 24, 2020
1 parent a3e1c56 commit 5871023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/admin-guide/blockdev/zram.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down

0 comments on commit 5871023

Please sign in to comment.