Sergey Senozhatsky 623e47fc64 zram: introduce per-device debug_stat sysfs node
debug_stat sysfs is read-only and represents various debugging data that
zram developers may need.  This file is not meant to be used by anyone
else: its content is not documented and will change any time w/o any
notice.  Therefore, the output of debug_stat file contains a version
string.  To avoid any confusion, we will increase the version number
every time we modify the output.

At the moment this file exports only one value -- the number of
re-compressions, IOW, the number of times compression fast path has
failed.  This stat is temporary any will be useful in case if any
per-cpu compression streams regressions will be reported.

Link: http://lkml.kernel.org/r/20160513230834.GB26763@bbox
Link: http://lkml.kernel.org/r/20160511134553.12655-1-sergey.senozhatsky@gmail.com
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-20 17:58:30 -07:00
..
2016-05-19 17:07:04 -07:00
2016-02-06 15:33:11 +08:00
2016-05-20 11:10:24 -07:00
2016-05-20 11:10:24 -07:00
2016-01-25 12:01:08 -02:00
2016-04-27 10:23:44 +02:00
2016-03-17 13:47:50 -07:00
2015-06-08 23:15:45 +02:00
2016-05-08 11:27:44 +02:00
2015-11-30 12:14:12 +00:00
2016-05-11 22:37:54 +02:00
2015-02-27 11:44:24 -08:00
2016-03-25 16:37:42 -07:00
2016-03-22 15:36:02 -07:00
2015-06-23 06:49:44 -06:00
2016-04-28 08:02:36 -06:00