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

From: Jens Axboe
Date: Mon Jul 21 2014 - 04:34:27 EST


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

--
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/