linux/Documentation
Sergey Senozhatsky 3d8ed88ba7 zram: add compact sysfs entry to documentation
We currently don't support zram on-demand device creation.  The only way
to have N zram devices is to specify num_devices module parameter (default
value 1).  That means that if, for some reason, at some point, user wants
to have N + 1 devies he/she must umount all the existing devices, unload
the module, load the module passing num_devices equals to N + 1.

This patchset introduces zram-control sysfs class, which has two sysfs
attrs:

 - hot_add     -- add a new zram device
 - hot_remove  -- remove a specific (device_id) zram device

    Usage example:
        # add a new specific zram device
        cat /sys/class/zram-control/hot_add
        1

        # remove a specific zram device
        echo 4 > /sys/class/zram-control/hot_remove

This patch (of 10):

Briefly describe missing `compact` sysfs entry.

Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-06-25 17:00:36 -07:00
..
2015-06-24 20:01:36 -07:00
2015-06-24 20:01:36 -07:00
2015-06-24 20:01:36 -07:00
2014-05-05 15:32:05 +02:00
2014-02-28 15:12:08 -08:00
2015-06-24 20:01:36 -07:00
2014-02-10 16:01:40 -08:00
2015-06-08 16:43:09 -06:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2014-06-11 08:35:34 -07:00
2015-06-24 20:01:36 -07:00
2015-06-08 23:15:45 +02:00
2015-06-22 09:59:28 -06:00
2015-06-24 20:01:36 -07:00
2015-06-02 08:03:25 -07:00
2015-05-10 19:26:37 +02:00
2015-04-13 14:14:29 +02:00
2015-06-23 15:55:44 -07:00
2015-05-13 15:39:04 -04:00
2014-06-19 17:45:14 -07:00
2015-06-24 20:01:36 -07:00
2015-02-02 14:23:42 -08:00
2015-02-27 11:44:24 -08:00
2015-05-29 17:21:45 -05:00
2014-05-05 15:32:05 +02:00
2015-06-24 18:17:40 +02:00
2014-12-08 09:07:11 -05:00
2015-06-23 06:49:44 -06:00
2014-11-21 19:48:50 +05:30
2014-05-05 15:32:05 +02:00
2014-05-05 15:32:05 +02:00
2014-09-23 23:44:16 -07:00