[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164432871743.114004.5542011379839024648.b4-ty@kernel.dk>
Date: Tue, 08 Feb 2022 06:58:37 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
"Md. Haris Iqbal" <haris.iqbal@...os.com>,
Jack Wang <jinpu.wang@...os.com>
Cc: linux-block@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] block/rnbd: Remove a useless mutex
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
Powered by blists - more mailing lists