Re: [PATCH 1/6] zram: remove `num_migrated' device attr

2015-03-11 Thread Sergey Senozhatsky
Hello, On (03/12/15 10:16), Minchan Kim wrote: > > -What: /sys/block/zram/num_migrated > > -Date: August 2015 > > -Contact: Minchan Kim > > -Description: > > - The compact file is read-only and shows how many object > ^ > > Argh, I

Re: [PATCH 1/6] zram: remove `num_migrated' device attr

2015-03-11 Thread Minchan Kim
On Wed, Mar 11, 2015 at 12:08:29AM +0900, Sergey Senozhatsky wrote: > Remove sysfs `num_migrated' attribute. We are moving away from > per-stat device attrs towards 3 stat files that will accumulate > io and mm stats in a format similar to block layer statistics in > /sys/block//stat. That will be

Re: [PATCH 1/6] zram: remove `num_migrated' device attr

2015-03-11 Thread Minchan Kim
On Wed, Mar 11, 2015 at 12:08:29AM +0900, Sergey Senozhatsky wrote: Remove sysfs `num_migrated' attribute. We are moving away from per-stat device attrs towards 3 stat files that will accumulate io and mm stats in a format similar to block layer statistics in /sys/block/dev/stat. That will be

Re: [PATCH 1/6] zram: remove `num_migrated' device attr

2015-03-11 Thread Sergey Senozhatsky
Hello, On (03/12/15 10:16), Minchan Kim wrote: -What: /sys/block/zramid/num_migrated -Date: August 2015 -Contact: Minchan Kim minc...@kernel.org -Description: - The compact file is read-only and shows how many object ^

[PATCH 1/6] zram: remove `num_migrated' device attr

2015-03-10 Thread Sergey Senozhatsky
Remove sysfs `num_migrated' attribute. We are moving away from per-stat device attrs towards 3 stat files that will accumulate io and mm stats in a format similar to block layer statistics in /sys/block//stat. That will be easier to use in user space, and reduce the number of syscalls needed to

[PATCH 1/6] zram: remove `num_migrated' device attr

2015-03-10 Thread Sergey Senozhatsky
Remove sysfs `num_migrated' attribute. We are moving away from per-stat device attrs towards 3 stat files that will accumulate io and mm stats in a format similar to block layer statistics in /sys/block/dev/stat. That will be easier to use in user space, and reduce the number of syscalls needed to