From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sg-1-30.ptr.blmpb.com (sg-1-30.ptr.blmpb.com [118.26.132.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AA262D63FF for ; Sat, 8 Nov 2025 10:37:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=118.26.132.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762598260; cv=none; b=uHGxQDv9c3ugMwLbCAkXvlw5Ruzu7/odVkIaiJICjFvAzi7J47dhoOy/2VQ4QTZfE+8aq5YUDX8b9ZHA4xDCQZzd9s6dJufR6Fv2T7V++qC5kUWf64KXxCvFzvKKQhxND5ityTgSY/yoC33JG5v0P0FapNgb3xiVzee2Vtbv6Fs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762598260; c=relaxed/simple; bh=X6GQA8WrjZf+Fp67jsfHi5BrZFA7MMXQmlZhwh14uBM=; h=To:Cc:Content-Type:Subject:Message-Id:In-Reply-To:From:Date: Mime-Version:References; b=GOE3GObQRsLw9k35yzqVjKxrBprQErEHnWk6bEiXw9zuoH5G8hWbvB+Wdn/53OsDkKAU4GesoOh6eboRCCf5xneO44yORFQEuFdY+WOKfdTf3jCFMmxcpV8vrlRsr6OnF6qZ7QwhFM4519WI1r8g/X5jP+xlttOADkGknv3X64Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com; spf=fail smtp.mailfrom=fnnas.com; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b=V59YOnbZ; arc=none smtp.client-ip=118.26.132.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fnnas.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=fnnas.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fnnas-com.20200927.dkim.feishu.cn header.i=@fnnas-com.20200927.dkim.feishu.cn header.b="V59YOnbZ" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fnnas-com.20200927.dkim.feishu.cn; t=1762598252; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=rMeEmkNPFdJvEeyXoyj9KOXHVJrtNPJ8SodXTHC5SCI=; b=V59YOnbZ4H3skUMBB1+bpJL+gxQlUlQLPKllMXm+NVDfNNIZkeJzc/UIMaCO08nsVi7Qej MfdIoiZxqXSf8ap+ylrWD1QU79kyZXUTs9A8liqaI9A37g7hhOgXbYUjylI+Zz/ztwbsvg CLyO9t821m+Tmc8g4KE3/UBLaBokfuOoSMAEuwRufLzom4IJG0NGoco3F95OfDu5Ghsi6f Zl34TaSE1/B+vlB0v5JC2ORz3kJf0URAwf1atzkFH0Qj+y5WdVieYV9FN3oI3BlM1kTc0N RSUhXaBlk5zHw4AWmKgpRMEWYg9c97HXfLVpl/6dG58mndINVZgA2mtJoxpUwA== To: , , , User-Agent: Mozilla Thunderbird Content-Transfer-Encoding: quoted-printable Reply-To: yukuai@fnnas.com Cc: , , , , , , Content-Type: text/plain; charset=UTF-8 X-Lms-Return-Path: Received: from [192.168.1.104] ([39.182.0.168]) by smtp.feishu.cn with ESMTPS; Sat, 08 Nov 2025 18:37:29 +0800 Subject: Re: [PATCH v2 08/11] md: move finish_reshape to md_finish_sync() Message-Id: <0f4fb54a-a477-4522-8dc5-87e5aadfa2dc@fnnas.com> In-Reply-To: <20251106115935.2148714-9-linan666@huaweicloud.com> From: "Yu Kuai" Date: Sat, 8 Nov 2025 18:37:28 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Original-From: Yu Kuai References: <20251106115935.2148714-1-linan666@huaweicloud.com> <20251106115935.2148714-9-linan666@huaweicloud.com> =E5=9C=A8 2025/11/6 19:59, linan666@huaweicloud.com =E5=86=99=E9=81=93: > finish_reshape implementations of raid10 and raid5 only update mddev > and rdev configurations. Move these operations to md_finish_sync() as > it is more appropriate. > > No functional changes. > > Signed-off-by: Li Nan > --- > drivers/md/md.c | 15 ++++++--------- > 1 file changed, 6 insertions(+), 9 deletions(-) LGTM Reviewed-by: Yu Kuai