Re: [PATCH 3/6] zram: use generic start/end io accounting

2015-03-11 Thread Minchan Kim
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

Re: [PATCH 3/6] zram: use generic start/end io accounting

2015-03-11 Thread Minchan Kim
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

[PATCH 3/6] zram: use generic start/end io accounting

2015-03-10 Thread Sergey Senozhatsky
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/stat'

[PATCH 3/6] zram: use generic start/end io accounting

2015-03-10 Thread Sergey Senozhatsky
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/zramid/stat'