2023-09-13 20:28:01

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH v6 38/45] fs: super: dynamically allocate the s_shrink

On Mon, Sep 11, 2023 at 05:44:37PM +0800, Qi Zheng wrote:
> In preparation for implementing lockless slab shrink, use new APIs to
> dynamically allocate the s_shrink, so that it can be freed asynchronously
> via RCU. Then it doesn't need to wait for RCU read-side critical section
> when releasing the struct super_block.
>
> Signed-off-by: Qi Zheng <[email protected]>
> Reviewed-by: Muchun Song <[email protected]>
> CC: Chris Mason <[email protected]>
> CC: Josef Bacik <[email protected]>
> CC: David Sterba <[email protected]>

Acked-by: David Sterba <[email protected]>