|
@@ -77,11 +77,14 @@ What: /sys/block/zram<id>/notify_free
|
|
Date: August 2010
|
|
Date: August 2010
|
|
Contact: Nitin Gupta <ngupta@vflare.org>
|
|
Contact: Nitin Gupta <ngupta@vflare.org>
|
|
Description:
|
|
Description:
|
|
- The notify_free file is read-only and specifies the number of
|
|
|
|
- swap slot free notifications received by this device. These
|
|
|
|
- notifications are sent to a swap block device when a swap slot
|
|
|
|
- is freed. This statistic is applicable only when this disk is
|
|
|
|
- being used as a swap disk.
|
|
|
|
|
|
+ The notify_free file is read-only. Depending on device usage
|
|
|
|
+ scenario it may account a) the number of pages freed because
|
|
|
|
+ of swap slot free notifications or b) the number of pages freed
|
|
|
|
+ because of REQ_DISCARD requests sent by bio. The former ones
|
|
|
|
+ are sent to a swap block device when a swap slot is freed, which
|
|
|
|
+ implies that this disk is being used as a swap disk. The latter
|
|
|
|
+ ones are sent by filesystem mounted with discard option,
|
|
|
|
+ whenever some data blocks are getting discarded.
|
|
|
|
|
|
What: /sys/block/zram<id>/zero_pages
|
|
What: /sys/block/zram<id>/zero_pages
|
|
Date: August 2010
|
|
Date: August 2010
|