Re: (subset) [PATCH 1/7] block: change wait on bd_claiming to use a var_waitqueue, not a bit_waitqueue

From: Jens Axboe
Date: Mon Sep 16 2024 - 23:13:56 EST



On Mon, 26 Aug 2024 16:30:58 +1000, NeilBrown wrote:
> bd_prepare_to_claim() waits for a var to change, not for a bit to be
> cleared.
> So change from bit_waitqueue() to __var_waitqueue() and correspondingly
> use wake_up_var().
> This will allow a future patch which change the "bit" function to expect
> an "unsigned long *" instead of "void *".
>
> [...]

Applied, thanks!

[1/7] block: change wait on bd_claiming to use a var_waitqueue, not a bit_waitqueue
commit: aa3d8a36780ab568d528348dd8115560f63ea16b

Best regards,
--
Jens Axboe