xref: /linux/Documentation/ABI/testing/sysfs-class-zram (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*6566d1a3SSergey SenozhatskyWhat:		/sys/class/zram-control/
2*6566d1a3SSergey SenozhatskyDate:		August 2015
3*6566d1a3SSergey SenozhatskyKernelVersion:	4.2
4*6566d1a3SSergey SenozhatskyContact:	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
5*6566d1a3SSergey SenozhatskyDescription:
6*6566d1a3SSergey Senozhatsky		The zram-control/ class sub-directory belongs to zram
7*6566d1a3SSergey Senozhatsky		device class
8*6566d1a3SSergey Senozhatsky
9*6566d1a3SSergey SenozhatskyWhat:		/sys/class/zram-control/hot_add
10*6566d1a3SSergey SenozhatskyDate:		August 2015
11*6566d1a3SSergey SenozhatskyKernelVersion:	4.2
12*6566d1a3SSergey SenozhatskyContact:	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
13*6566d1a3SSergey SenozhatskyDescription:
14*6566d1a3SSergey Senozhatsky		RO attribute. Read operation will cause zram to add a new
15*6566d1a3SSergey Senozhatsky		device and return its device id back to user (so one can
16*6566d1a3SSergey Senozhatsky		use /dev/zram<id>), or error code.
17*6566d1a3SSergey Senozhatsky
18*6566d1a3SSergey SenozhatskyWhat:		/sys/class/zram-control/hot_remove
19*6566d1a3SSergey SenozhatskyDate:		August 2015
20*6566d1a3SSergey SenozhatskyKernelVersion:	4.2
21*6566d1a3SSergey SenozhatskyContact:	Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
22*6566d1a3SSergey SenozhatskyDescription:
23*6566d1a3SSergey Senozhatsky		WO attribute. Remove a specific /dev/zramX device, where X
24*6566d1a3SSergey Senozhatsky		is a device_id provided by user.
25