[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea599d7b-c992-5e02-6b35-f7b8d9352c0c@huaweicloud.com>
Date: Sat, 28 Jun 2025 11:18:37 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: Wang Jinchao <wangjinchao600@...il.com>, Song Liu <song@...nel.org>
Cc: linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
"yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH v3 2/2] md/raid1: remove struct pool_info and related code
在 2025/06/24 9:55, Wang Jinchao 写道:
> The struct pool_info was originally introduced mainly to support reshape
> operations, serving as a parameter for mempool_init() when raid_disks
> changes. Now that mempool_create_kmalloc_pool() is sufficient for this
> purpose, struct pool_info and its related code are no longer needed.
>
> Remove struct pool_info and all associated code.
>
> Signed-off-by: Wang Jinchao<wangjinchao600@...il.com>
> ---
> drivers/md/raid1.c | 49 +++++++++++++---------------------------------
> drivers/md/raid1.h | 20 -------------------
> 2 files changed, 14 insertions(+), 55 deletions(-)
Nice cleanup.
Reviewed-by: Yu Kuai <yukuai3@...wei.com>
Powered by blists - more mailing lists