Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5a6bfb6 authored by Weijie Yang's avatar Weijie Yang Committed by Greg Hackmann
Browse files

UPSTREAM: zram: clear disk io accounting when reset zram device



(cherry-pick from commit d7ad41a1c498729b7584c257710b1b437a0c1470)

Clear zram disk io accounting when resetting the zram device.  Otherwise
the residual io accounting stat will affect the diskstat in the next
zram active cycle.

Bug: 25951511

Change-Id: I426e4c70d31393aa9a9ee3c9984e029ceb6f756b
Signed-off-by: default avatarWeijie Yang <weijie.yang@samsung.com>
Acked-by: default avatarSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: default avatarMinchan Kim <minchan@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 76e1b656
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment