From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-2-16.ptr.blmpb.com (va-2-16.ptr.blmpb.com [209.127.231.16]) (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 18007218845 for ; Sun, 19 Jul 2026 10:32:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.231.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784457143; cv=none; b=d+5EIIpwv7cILV5cbLD8mf201oRtWXZ+5UdDJe8UMaDsWPHvhqR0639mV7q7xwNgW+m13Rp5WIHt//OEq8suSLz19YJEK3xdXXdmoxHZstEZCacFOMvL8ntUXS9IB1L0UGr1/ml19d7VVGv1TPDAA9ZXy82lIqZdqW3+0bV/m/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784457143; c=relaxed/simple; bh=xZSgGfc0S/iZ66o9sPIFocknf21KtT1C1VASGPqfvsg=; h=Date:Mime-Version:In-Reply-To:Message-Id:References:To:Cc:From: Subject:Content-Type; b=pGsaNNtM/3MIKsJWuwdcUwTqZVea1UJ+rt8u5EVj26fDEJ8JTBd6/d4Ce9N/WQDVeGnSy6sUPRHbi6rhbm3alQ+jj39uMrx7hx6s3iSYDOxhLh+N0hknyhMsN5jLBRMwFdEYHMnYZjyytZBvVHmmgoBnPv7VvAm7QklyVkmORYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fygo.io; spf=pass smtp.mailfrom=fygo.io; dkim=pass (2048-bit key) header.d=fygo-io.20200929.dkim.larksuite.com header.i=@fygo-io.20200929.dkim.larksuite.com header.b=bCDjT1HK; arc=none smtp.client-ip=209.127.231.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fygo.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fygo.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fygo-io.20200929.dkim.larksuite.com header.i=@fygo-io.20200929.dkim.larksuite.com header.b="bCDjT1HK" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=fygo-io.20200929.dkim.larksuite.com; t=1784457130; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=QfL9vLv+g/SPY4MH+EVuNnLBQA7XUz0nG3MlSD03spM=; b=bCDjT1HKEW6txkzuHNCf7ITE7AQBWvWH7kmEL9HEXH3v9c9H9aCMCr0TXRPgOrd+JsU2R7 +uYdYNRNKtRdI4CqNhlC7NapCoeGTg6B8p9OhKZ04HmxuRvTr/t7PRVS9pVPbhK7TOnQNw LW7uwQI5pQgCTjVpQ94aaR7cP38DIJ1xRx5LQMZSotXKcv+ZPNvc2wM66OnFfUHzzHzur2 rSWwKIW0dye2qgg+UWDlyRuR9JtD2jKj6CnFaG+2GBOAY7oKkoA1/XBeOeB2Fwz6PhRL1s hCqrhHKCkq8TgzrOGPzfju/iTHT2aQM5tqRgcaBVkX047ZKFiInIAcQYjq8cOA== Date: Sun, 19 Jul 2026 18:32:05 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 In-Reply-To: <20260718034236.4119093-1-chencheng@fnnas.com> Reply-To: yukuai@fygo.io Message-Id: References: <20260718034236.4119093-1-chencheng@fnnas.com> To: "Chen Cheng" , , Cc: , From: "yu kuai" Subject: Re: [PATCH] md/bitmap: resume array on backlog_store() error path Content-Transfer-Encoding: quoted-printable Received: from [192.168.1.104] ([39.182.0.157]) by smtp.larksuite.com with ESMTPS; Sun, 19 Jul 2026 10:32:09 +0000 Content-Type: text/plain; charset=UTF-8 X-Lms-Return-Path: User-Agent: Mozilla Thunderbird X-Original-From: yu kuai =E5=9C=A8 2026/7/18 11:42, Chen Cheng =E5=86=99=E9=81=93: > From: Chen Cheng > > backlog_store() suspends the array before checking whether a write-mostly > device exists. If no such device exists, the error path only unlocks > reconfig_mutex and leaves the array suspended, blocking subsequent I/O. > > Use mddev_unlock_and_resume() to release both states. > > Fixes: 58226942ad3d ("md: use new apis to suspend array before mddev_crea= te/destroy_serial_pool") > > Signed-off-by: Chen Cheng > --- > drivers/md/md-bitmap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Yu Kuai --=20 Thanks, Kuai