aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/blockdev
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2015-04-15 16:15:57 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-15 16:35:21 -0700
commit8811a9421b325b06a2456ae1b8fe23e838cbfe33 (patch)
tree892c5226ea92e00dffe24cd4bcb128ce5f7d9c50 /Documentation/blockdev
parentzram: move compact_store() to sysfs functions area (diff)
downloadwireguard-linux-8811a9421b325b06a2456ae1b8fe23e838cbfe33.tar.xz
wireguard-linux-8811a9421b325b06a2456ae1b8fe23e838cbfe33.zip
zram: use generic start/end io accounting
Use bio generic_start_io_acct() and generic_end_io_acct() to account device's block layer statistics. This will let users to monitor zram activities using sysstat and similar packages/tools. Apart from the usual per-stat sysfs attr, zram IO stats are now also available in '/sys/block/zram<id>/stat' and '/proc/diskstats' files. We will slowly get rid of per-stat sysfs files. Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Minchan Kim <minchan@kernel.org> Cc: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/blockdev')
0 files changed, 0 insertions, 0 deletions