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

Skip to content
Commit d7e82262 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: I0afc7ba11fb65fad352e3e195944d8887b348bef
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 1067eed4
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