Re: [PATCH v2] block/rnbd: Remove a useless mutex

From: Jens Axboe
Date: Tue Feb 08 2022 - 08:58:45 EST


On Mon, 7 Feb 2022 21:48:19 +0100, Christophe JAILLET wrote:
> According to lib/idr.c,
> The IDA handles its own locking. It is safe to call any of the IDA
> functions without synchronisation in your code.
>
> so the 'ida_lock' mutex can just be removed.
> It is here only to protect some ida_simple_get()/ida_simple_remove() calls.
>
> [...]

Applied, thanks!

[1/1] block/rnbd: Remove a useless mutex
commit: a41cdf83a63122e5c5fb8c8550b812b25a332577

Best regards,
--
Jens Axboe