Re: [PATCH -next v2 4/9] blk-iocost: read params inside lock in sysfs apis

From: Tejun Heo
Date: Wed Nov 30 2022 - 15:20:39 EST


On Wed, Nov 30, 2022 at 09:21:51PM +0800, Li Nan wrote:
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> Otherwise, user might get abnormal values if params is updated
> concurrently.
>
> Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>
> Signed-off-by: Li Nan <linan122@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

--
tejun