diff options
Diffstat (limited to 'Documentation/ABI/testing/sysfs-block-zram')
-rw-r--r-- | Documentation/ABI/testing/sysfs-block-zram | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-block-zram b/Documentation/ABI/testing/sysfs-block-zram index a6148eaf91e5..2e69e83bf510 100644 --- a/Documentation/ABI/testing/sysfs-block-zram +++ b/Documentation/ABI/testing/sysfs-block-zram | |||
@@ -141,3 +141,28 @@ Description: | |||
141 | amount of memory ZRAM can use to store the compressed data. The | 141 | amount of memory ZRAM can use to store the compressed data. The |
142 | limit could be changed in run time and "0" means disable the | 142 | limit could be changed in run time and "0" means disable the |
143 | limit. No limit is the initial state. Unit: bytes | 143 | limit. No limit is the initial state. Unit: bytes |
144 | |||
145 | What: /sys/block/zram<id>/compact | ||
146 | Date: August 2015 | ||
147 | Contact: Minchan Kim <minchan@kernel.org> | ||
148 | Description: | ||
149 | The compact file is write-only and trigger compaction for | ||
150 | allocator zrm uses. The allocator moves some objects so that | ||
151 | it could free fragment space. | ||
152 | |||
153 | What: /sys/block/zram<id>/io_stat | ||
154 | Date: August 2015 | ||
155 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
156 | Description: | ||
157 | The io_stat file is read-only and accumulates device's I/O | ||
158 | statistics not accounted by block layer. For example, | ||
159 | failed_reads, failed_writes, etc. File format is similar to | ||
160 | block layer statistics file format. | ||
161 | |||
162 | What: /sys/block/zram<id>/mm_stat | ||
163 | Date: August 2015 | ||
164 | Contact: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | ||
165 | Description: | ||
166 | The mm_stat file is read-only and represents device's mm | ||
167 | statistics (orig_data_size, compr_data_size, etc.) in a format | ||
168 | similar to block layer statistics file format. | ||