The patch titled Subject: zram: clear disk io accounting when reset zram device has been removed from the -mm tree. Its filename was zram-clear-disk-io-accounting-when-reset-zram-device.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Weijie Yang <weijie.yang@xxxxxxxxxxx> Subject: zram: clear disk io accounting when reset zram device 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. Signed-off-by: Weijie Yang <weijie.yang@xxxxxxxxxxx> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> Acked-by: Minchan Kim <minchan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/zram/zram_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/block/zram/zram_drv.c~zram-clear-disk-io-accounting-when-reset-zram-device drivers/block/zram/zram_drv.c --- a/drivers/block/zram/zram_drv.c~zram-clear-disk-io-accounting-when-reset-zram-device +++ a/drivers/block/zram/zram_drv.c @@ -805,7 +805,9 @@ static void zram_reset_device(struct zra memset(&zram->stats, 0, sizeof(zram->stats)); zram->disksize = 0; zram->max_comp_streams = 1; + set_capacity(zram->disk, 0); + part_stat_set_all(&zram->disk->part0, 0); up_write(&zram->init_lock); /* I/O operation under all of CPU are done so let's free */ _ Patches currently in -mm which might be from weijie.yang@xxxxxxxxxxx are origin.patch mm-page_isolation-check-pfn-validity-before-access.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html