Re: [PATCH] virtio_blk: fix race between start and stop queue

From: Ming Lei
Date: Fri May 16 2014 - 11:22:36 EST


On Fri, May 16, 2014 at 11:17 PM, Jens Axboe <axboe@xxxxxxxxx> wrote:
> On 2014-05-16 09:15, Ming Lei wrote:
>
>
> virtio-blk just has one queue, so the flag is at least pointless for now.
> And since the other code stops all of them anyway, I don't see any reason
> not to just rely on that.

OK, if you don't care the little loading of calling
blk_mq_start_stopped_hw_queues() for each
interrupt, I will remove the flag.

Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/