On Wed, Mar 11, 2015 at 12:08:31AM +0900, Sergey Senozhatsky wrote: > 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.
Yay, Thanks! > > 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.senozhat...@gmail.com> Acked-by: Minchan Kim <minc...@kernel.org> -- Kind regards, Minchan Kim -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/