All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>, Mike Snitzer <snitzer@redhat.com>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: [PATCH] block: Fix race triggered by blk_set_queue_dying()
Date: Tue, 16 Aug 2016 19:37:16 -0600	[thread overview]
Message-ID: <e6644369-db59-215e-bd01-0f2b623fdbb6@kernel.dk> (raw)
In-Reply-To: <e50dbd54-30fb-bf59-0ce6-5ccf1d830017@sandisk.com>

On 08/16/2016 05:48 PM, Bart Van Assche wrote:
> blk_set_queue_dying() can be called while another thread is
> submitting I/O or changing queue flags, e.g. through dm_stop_queue().
> Hence protect the QUEUE_FLAG_DYING flag change with locking.

Added, thanks.

-- 
Jens Axboe

      reply	other threads:[~2016-08-17  1:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16 23:48 [PATCH] block: Fix race triggered by blk_set_queue_dying() Bart Van Assche
2016-08-17  1:37 ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6644369-db59-215e-bd01-0f2b623fdbb6@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=bart.vanassche@sandisk.com \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=snitzer@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.