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

Alexander Gordeev
2014-07-21T09:11:06Z

On Mon, Jul 21, 2014 at 10:34:20AM +0200, Jens Axboe wrote:
> 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.

Let me examine the code.. It was few weeks ago and I can not
remember what was that. And the changelog does not help :)

>
> --
> Jens Axboe