linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Fir a race between request queue cleanup and running queues
@ 2019-04-01 21:20 Bart Van Assche
  2019-04-01 21:20 ` [PATCH 1/4] block: Move the percpu_ref_exit(&q->q_usage_counter) call into __blk_release_queue() Bart Van Assche
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Bart Van Assche @ 2019-04-01 21:20 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Christoph Hellwig, Bart Van Assche

Hi Jens,

This patch series fixes a recently reported race between request queue cleanup
and running request queues. The approach followed is not to run the queue
anymore after a request queue has been marked "dead". Please consider this
patch series for kernel v5.1.

Thanks,

Bart.

Bart Van Assche (4):
  block: Move the percpu_ref_exit(&q->q_usage_counter) call into
    __blk_release_queue()
  block: Fix a race between request queue freezing and running queues
  block: Fix a comment in blk_cleanup_queue()
  block: Make blk_cleanup_queue() faster

 block/blk-core.c  | 17 ++---------------
 block/blk-mq.c    |  8 ++++++++
 block/blk-sysfs.c |  1 +
 3 files changed, 11 insertions(+), 15 deletions(-)

-- 
2.21.0.196.g041f5ea1cf98


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-03  3:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-01 21:20 [PATCH 0/4] Fir a race between request queue cleanup and running queues Bart Van Assche
2019-04-01 21:20 ` [PATCH 1/4] block: Move the percpu_ref_exit(&q->q_usage_counter) call into __blk_release_queue() Bart Van Assche
2019-04-01 21:20 ` [PATCH 2/4] block: Fix a race between request queue freezing and running queues Bart Van Assche
2019-04-02  0:53   ` Ming Lei
2019-04-02 15:44     ` Bart Van Assche
2019-04-03  3:31       ` Ming Lei
2019-04-01 21:20 ` [PATCH 3/4] block: Fix a comment in blk_cleanup_queue() Bart Van Assche
2019-04-01 21:20 ` [PATCH 4/4] block: Make blk_cleanup_queue() faster Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).