Re: [PATCH] bcache: Remove usage of the deprecated ida_simple_xx() API

From: Coly Li
Date: Mon Apr 15 2024 - 11:00:39 EST




> 2024年4月14日 16:24,Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> 写道:
>
> Le 14/01/2024 à 16:16, Coly Li a écrit :
>> On Sun, Jan 14, 2024 at 01:30:16PM +0100, Christophe JAILLET wrote:
>>> ida_alloc() and ida_free() should be preferred to the deprecated
>>> ida_simple_get() and ida_simple_remove().
>>>
>>> Note that the upper limit of ida_simple_get() is exclusive, but the one of
>>> ida_alloc_max() is inclusive. So a -1 has been added when needed.
>>>
>>> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
>> It looks good to me. Add this patch into my testing directory.
>> Thanks.
>> Coly Li
>
> Hi,
>
> polite reminder ;-)

Yes, this one is included in my recent performance testing :-)

Thank you.

Coly Li