Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564983

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

From Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] zram: remove waitqueue for IO done
Date 2017-01-23 15:00 +0100
Message-ID <t2Nk6-78N-3@gated-at.bofh.it> (permalink)
References <t2EgO-1Ep-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 pending IO at the zram_reset_device.

interesting.
looks reasonable to me.

> Signed-off-by: Minchan Kim <minchan@kernel.org>

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>

	-ss

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] zram: remove waitqueue for IO done Minchan Kim <minchan@kernel.org> - 2017-01-23 05:20 +0100
  Re: [PATCH] zram: remove waitqueue for IO done Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2017-01-23 15:00 +0100

csiph-web