From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0BE163FF88A; Tue, 26 May 2026 14:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779807083; cv=none; b=sEfaS9sxBF2Xp+hf8atKDMbYVemSEP3Kgci4E/7yH+UuciBh0VbiHioyYt972Q2eWOFKlQrko4BZqkdvl+z5ve6rlM1lCr2T71hu3cesXzHvKsqjTjFjUVFf7o21os2O2ryauxqUgFflmzAwi5hL7lT7TdfKtP8oGCCdgKnib84= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779807083; c=relaxed/simple; bh=+nOSH/R+u5hC7W5N0gRdMdxq1141IJ3DXCEfLE9vwIQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZnEqU/JIMdwzZg+zrDlIjgg0jZpm8DyKESD4+H0sO7t/DVq2MfQ7QJNsLStfrY2dzsrpbLcZX+Z5WfDI5bvAf5erXmHPZPbfiNVdVgnCuXsCQQsKrkmlzP9tU830bI2aTFIPK/GJ4rYKlKscfYW9oijhC4LBwyE1OGshTx8L+4g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XlaDDjj3; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XlaDDjj3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0F011F000E9; Tue, 26 May 2026 14:51:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1779807081; bh=QOHCYS+rQrNjeXTfsp2IRlhp/+98376jVXC17Yk4+kY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=XlaDDjj3QNuylOg7EPsPTH9LgeBmHhDNdr0meHetuIpLJ7JKRE8MQz5ckQ9Eg3fnQ VeO5cSUEWHRcBnqwiJPZ/5ZLkfOdijN2IiKVLPEWK+sHc0634GQHcQEaHGQaaQnTK4 ZdenhOE6OJQtackcqGHu4lA97SsSS0L+zXAV0/Sqw2UpQI7+8VL1VgjgbLOZFyzr3i SKrWeGwkCFfLkfAvY5v0W5cc4qI7KTwY4USZmMhFT3J7DeK+HfYymmdmZH14En04pm HZyZOQhi4etZAYb37xFjoEjrgGut1Xx6prFa4hMYCJ6dlIjj/eAlBpRsYz4+NyUZJw Z7t9VoEaB5/zQ== Date: Tue, 26 May 2026 16:51:18 +0200 From: Carlos Maiolino To: Yingjie Gao Cc: linux-xfs@vger.kernel.org, djwong@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] xfs: fix CoW fork repair error handling Message-ID: References: <20260526123243.1078867-1-gaoyingjie@uniontech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260526123243.1078867-1-gaoyingjie@uniontech.com> On Tue, May 26, 2026 at 08:32:41PM +0800, Yingjie Gao wrote: > Hi all, > > This series fixes two error handling bugs in the CoW fork repair code. > > The non-realtime helper can lose real failures in two different ways: > it returns success after the common cleanup labels, and the > force-rebuild path can return directly without freeing the AG repair > context. > > The realtime helper has a related cleanup bug in its force-rebuild > path. If marking the full mapping fails, the code jumps past the > rtgroup scrub cleanup and only drops the local rtgroup reference. > > Split the fixes into two patches so that the non-RT and RT changes > remain easy to review and bisect independently. > > Patches in this series: > 1. fix non-RT CoW fork repair error returns and cleanup > 2. fix RT CoW fork repair cleanup Was this generated by any LLM model? > > Thanks, > Yingjie > > Yingjie Gao (2): > xfs: fix error returns in CoW fork repair > xfs: fix rtgroup cleanup in CoW fork repair > > fs/xfs/scrub/cow_repair.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > -- > 2.20.1 >