Re: [PATCH] zram: remove waitqueue for IO done

2017-01-23 Thread Sergey Senozhatsky
On (01/23/17 13:17), Minchan Kim wrote: > zram_reset_device waits ongoing writepage pages completed by > zram->refcount logic. However, it's pointless because before > the reset, we prevent further opening of zram by zram->claim > and flush all of pending IO by fsync_bdev so there should be > no pe

[PATCH] zram: remove waitqueue for IO done

2017-01-22 Thread Minchan Kim
zram_reset_device waits ongoing writepage pages completed by zram->refcount logic. However, it's pointless because before the reset, we prevent further opening of zram by zram->claim and flush all of pending IO by fsync_bdev so there should be no pending IO at the zram_reset_device. So let's remov