[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140516145450.GA5939@infradead.org>
Date: Fri, 16 May 2014 07:54:50 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Jens Axboe <axboe@...nel.dk>
Cc: Ming Lei <tom.leiming@...il.com>, linux-kernel@...r.kernel.org,
Rusty Russell <rusty@...tcorp.com.au>
Subject: Re: [PATCH] virtio_blk: fix race between start and stop queue
On Fri, May 16, 2014 at 08:53:22AM -0600, Jens Axboe wrote:
> >This patch fixes the problem by starting/stopping blk-mq
> >with holding vq_lock.
>
> Why not just use blk_mq_start_hw_queues()?
That would kick off a work item on every I/O completion, something
you didn't particularly like in scsi-mq :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists