zram: report failed read and write stats
(cherry pick from commit 6444724939db5de7390c90f7b4a657159b3b4465) zram accounted but did not report numbers of failed read and write queries. make these stats available as failed_reads and failed_writes attrs. Signed-off-by:Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by:
Minchan Kim <minchan@kernel.org> Acked-by:
Jerome Marchand <jmarchan@redhat.com> Cc: Nitin Gupta <ngupta@vflare.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Bug: 24810447 Change-Id: I5022b8e485c748dc257b7d637a1c24c918fddbe8
Loading
Please register or sign in to comment