Received: by 2002:ab2:715a:0:b0:1fd:c064:50c with SMTP id l26csp93047lqm; Mon, 10 Jun 2024 13:53:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+xvOGOlUZVQD/2ugX90K5ILVLtyNBP8JLrVRhl8dfutu12GxSTIRIB2sSWuCCQaoqKTOM4wy9dy7qUBFSynKnDc/mPr50AQHVe9wEaQ== X-Google-Smtp-Source: AGHT+IHTVDPS/imsXCor8CNsRWzI76bUHcrkuOPpYgywGXwKIFqYX7r6i6tCZiPCo4ROLGjh6ZOb X-Received: by 2002:ac2:5ecf:0:b0:52c:88b8:12ab with SMTP id 2adb3069b0e04-52c88b81393mr2635442e87.23.1718052789220; Mon, 10 Jun 2024 13:53:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718052789; cv=pass; d=google.com; s=arc-20160816; b=v6+krl4Nfry0nZNsF/U5FhjJZKTe+FI+j4QrzPU/jzdhJZ6dOaWfMZaZXmUyxmkvO+ Z42Er4QeML7ZovPiuCRRExdQpWyPuM6sbs5livF/Y9qEwIYXx6/HLHIzFlbvE8zu69Zb maYSmI5kCkXH8ngal5o3hbUzlTj6ewNWFKXzryfNrF3wyxXxquPaCNuwJ1VX33F4uI4x tptwI4x/hZsqmCwBwTASszT843BXCSVFRm2Qyyz2NOCkE32Z6stM58OomS9iQNP/ve/W VNoM96aU3BUzlIZpLhbasMWRMRlebXIwW9+MoRTxyt9Wm99q/w0beEWIfaacqBGmeAjq lVVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=jSBUrgjvOh+nWTEbG10xMpT75xZC+Ar7lX9ZBYRGsSM=; fh=e9sCsQvzReFATZ7/cxvT2aOfX02ZV+qq5paOarPmYbs=; b=m54bBolK6eLTz9LBngr7jOK+wWrR/ODqS0j5k1OmKrpMZrPZ9sc2WDigdG3iGK7xHZ IGmrY8Yi50L4PGKXSxYQRtSCsxy3YKopf7PiF6whDRqMijiumcZjN0y/nuuqnuYCrfxw 0dEIVQLvxqOzmX1oDdBdkNAG8akfKJnW+S0t4frx8ojccILRybUa9lz27Hc1WgnQ/0Es KuPW2VaxKrmFwi3VpnOrm6f+mabLKJ7DeF2NmNZILQ9QVHouFXdO82pZcElyjYIELNOD pU05vzlVwdlSz73X93lutlMkFAia/Yt1PiB401y8zckglFVWQkRVZXsj/CgcyNVdSckq xzFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XRBzSEIe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208889-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c6d6a6fd6si2908842a12.296.2024.06.10.13.53.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 13:53:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208889-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XRBzSEIe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208889-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6FBA61F21817 for ; Mon, 10 Jun 2024 20:53:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D38F15466C; Mon, 10 Jun 2024 20:52:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XRBzSEIe" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 066C84D8B6; Mon, 10 Jun 2024 20:52:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052779; cv=none; b=qmsBw1pTAH612Oc480vD8SWzf5X6+gvMPDG4Bxvvd1VoW13SWNIp/5NLGTU2b131EgWASQTUF/fMxcTWSnlMxAP1G6QGo3+9SecxRizJTLO8dNJ4Yd0Sa3T6vKRJTPbpuHoFk2ICDHNNOTuTz+8CNraAil9S8MaCQSbNFpyPLdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718052779; c=relaxed/simple; bh=7l5yLkxz8BSgeKvH9nDET9QOXi/H2lDfBJ/EnmhvCzE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=lzk/iwMwD+7NsVwY7pLCKffX0ZnmSvuhs2eY2KT7rQhMAe7K28ZmUd12ymVKNXT+eqxYQqhwuwO3vyCBcNzvsIEaI8ACW9YSaY/9tpU1qUO+Ee83IrOTn3z2OUVnN1f3zxfyQg3LhvIzjzL47kWzAELn6vFIfL7qBfiqp8gdyk4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XRBzSEIe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7035EC4AF48; Mon, 10 Jun 2024 20:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718052778; bh=7l5yLkxz8BSgeKvH9nDET9QOXi/H2lDfBJ/EnmhvCzE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=XRBzSEIeY0ZmEfe0I4hEBa4Dh2j0TK3l0xriXHJOAdYuiefZIid2KAJMkDXLGMMAY 5h88SYeH3TApLbjfMSNtkvlrLokAVkPgngoi9iRtPcVg7QeJTo44NtuRH328gSLdsG OlQHwfyKiEJfsebjSHF83+LKZdb5Viz3IO5jGCs//C5/E+WDR40IIjEBLN93Hu+YJf hnySrBv0XzaHDMXOGnqGWMH/LIemTgc4nwzg5m2KYnj8HQhp+FjEcpyKXreX85cVqa 00MZbd0PntRkIgUlYrxY3RJfGKmJwwBlKJCLhqkIqFyhNx8fYIXoEJqquyIBzrG/6K soYtJ5v5ciyjQ== Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2eae2d4daf0so2846711fa.2; Mon, 10 Jun 2024 13:52:58 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUwUEAOjJr3xzIU9rUb4VmkRa7uZdLzojvjzBGzNXdBaRR6xxMoQ8SSoYzFQrFfdyt1lAqvguGydktDTTp0TtmjY77FeYcZ2k8IZGfm0xOBR+5Z0sk+ZJTZ+lIRCM35RresUNAtbwGNrQ== X-Gm-Message-State: AOJu0YxRqJt/in78k65Yp5lZOcnePP7YoKK0HnBDxkXiin7j/kRQTHwP J3uXU3WK5LZ+IBtZS3ABzz+34BvrIqsYDUhn/MlUJEizsPYT8VymH1wwld1MAlzo81d97WGMYEa HtU2Hijoy4XSmH/RKY97jgQsnsFs= X-Received: by 2002:a2e:780b:0:b0:2ea:e9f9:6ac2 with SMTP id 38308e7fff4ca-2eae9f96be4mr60071641fa.8.1718052776684; Mon, 10 Jun 2024 13:52:56 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240525185257.3896201-1-linan666@huaweicloud.com> In-Reply-To: <20240525185257.3896201-1-linan666@huaweicloud.com> From: Song Liu Date: Mon, 10 Jun 2024 13:52:44 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] md: flush deadlock bugfix To: linan666@huaweicloud.com Cc: yukuai3@huawei.com, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com, houtao1@huawei.com, yangerkun@huawei.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 25, 2024 at 4:00=E2=80=AFAM wrote: > > From: Li Nan > > I recently identified a flush deadlock issue, which can be resolved > by this patch set. After testing for a day in an environment where the > problem can be easily reproduced, I did not encounter the issue again. > > Before a complete overwrite of the md flush, first fix the issue with > this patch set. > > Li Nan (2): > md: change the return value type of md_write_start to void > md: fix deadlock between mddev_suspend and flush bio Applied the set to md-6.11. Thanks! Song