2020-01-20 10:31:07

by Yue Hu

[permalink] [raw]
Subject: [PATCH] zram: correct documentation about sysfs node of huge page writeback

From: Yue Hu <[email protected]>

sysfs node for huge page writeback is writeback rather than write.

Signed-off-by: Yue Hu <[email protected]>
---
Documentation/admin-guide/blockdev/zram.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/admin-guide/blockdev/zram.rst b/Documentation/admin-guide/blockdev/zram.rst
index 6eccf13..3966db6 100644
--- a/Documentation/admin-guide/blockdev/zram.rst
+++ b/Documentation/admin-guide/blockdev/zram.rst
@@ -318,7 +318,7 @@ To use the feature, admin should set up backing device via::
before disksize setting. It supports only partition at this moment.
If admin want 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::
--
1.9.1


2020-01-23 01:57:53

by Minchan Kim

[permalink] [raw]
Subject: Re: [PATCH] zram: correct documentation about sysfs node of huge page writeback

On Mon, Jan 20, 2020 at 06:29:49PM +0800, Yue Hu wrote:
> From: Yue Hu <[email protected]>
>
> sysfs node for huge page writeback is writeback rather than write.
>
> Signed-off-by: Yue Hu <[email protected]>
Acked-by: Minchan Kim <[email protected]>

2020-01-24 20:56:17

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] zram: correct documentation about sysfs node of huge page writeback

On Wed, 22 Jan 2020 17:55:34 -0800
Minchan Kim <[email protected]> wrote:

> On Mon, Jan 20, 2020 at 06:29:49PM +0800, Yue Hu wrote:
> > From: Yue Hu <[email protected]>
> >
> > sysfs node for huge page writeback is writeback rather than write.
> >
> > Signed-off-by: Yue Hu <[email protected]>
> Acked-by: Minchan Kim <[email protected]>

Applied, thanks.

jon