Re: [PATCH] blk-mq: bitmap tag: fix potential unwakeable sleep in bt_get()

Jens Axboe
2014-07-21T08:34:24Z

On 2014-07-21 10:32, Alexander Gordeev wrote:
> On Mon, Jul 21, 2014 at 10:16:54AM +0200, Jens Axboe wrote:
>> What is this patch against?
>
> v3.16-rc5

My bad, was looking at the wrong sources. What is the race? If the clear
and wakeup come in after the prepare_to_wait() but before the
io_schedule(), the io_schedule() will be a no-op and it wont actually
sleep. Your commit message doesn't mention any particular details.

--
Jens Axboe