Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2995650rdb; Fri, 22 Sep 2023 14:47:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtACuZgGyKV8ritInPJyMXco/QwhHlQrx3Y3vInFEEwmT+qz5/Pax8uTo7VtmSNd5xg9mq X-Received: by 2002:a05:6a20:560b:b0:155:5c28:ea6c with SMTP id ir11-20020a056a20560b00b001555c28ea6cmr672874pzc.25.1695419220344; Fri, 22 Sep 2023 14:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695419220; cv=none; d=google.com; s=arc-20160816; b=Zauyt404CfroFbHwU93Uvl1dbVNHudMrnDvIAbvVfAl3Ldxe9CHrRDuyzpkROskQI4 dy9Z7Al3QAqhuWIDRLQFJg9GlQDV3I/dBXUXMvNafUB8VvDvYymUzQBqt015MEtWwhjw hL2w8iXjKQOt0Do5wWvDQa5GITk5nYUwM2Ylmi5NoQGuPfny9PLBCFzKz9ozGX+vtEQY 3sWz8py96yI0P7h9EaIk03QuyX/XquN9yGCyCU/wC5D2rIelXBVC+D1IN760r6yqCE/g MyZw230Dgd5hhXSNGEdnbS3gMV1MsqvLVyn2uiBaAOE2t2vrBmH+ogWE7SFouKYk0Unz 8F2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MQD7dTPwTFspaWehoE1ZOixwp9iXOkteUaPsS2Kunww=; fh=gTm8BtjFhSKTgRESNu9ddXDwkzIzR9AAsB/UlS+pxEE=; b=YtX1j0HzhdYMLGswQrhWHcKwmLNluV/waw++/OXfrpuv/aDnJMIsqyPO9yAhY3EkWy tdbVJsAdQ0c892r8NYo8KlTXFRoDptu/YhgQx/D9BHa760+nTrnX905rN7tjN3OVf1kT td1DIlZcvPY7JKptTgUO68Mt7HTSjR7wx37hU2SsXViaHv7yGGT4hxwKiCZFcsAyYjOQ dN8asIM3lyPxq+VQBLFpWdCNFeX6WT8Rz6x4MN2qQbz0Pm0rkCu20QF86+Jwh7ZZkwj7 lWRnsOYDtFxPBYDc3RRmfY/goFfP8wIPtIrmixM/qhc8q8OUrnVtSRjF1i6knjhtEN1y nXyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TOFN5ujQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o17-20020a17090aac1100b00274c6997c25si4749413pjq.110.2023.09.22.14.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 14:47:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TOFN5ujQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 57DFC80658F3; Fri, 22 Sep 2023 14:33:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230010AbjIVVdV (ORCPT + 99 others); Fri, 22 Sep 2023 17:33:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbjIVVdU (ORCPT ); Fri, 22 Sep 2023 17:33:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E9A139; Fri, 22 Sep 2023 14:33:12 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0320EC433C8; Fri, 22 Sep 2023 21:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695418392; bh=f1EVfyH2F01F5M1949Z7ivI+38rasZWWnGdFJAtx/Xo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TOFN5ujQr8NIPwy+7xqKsVpuinRJoPiuaLKWJUFdA7EMnOI8Crl+eeIQnxU+RWls7 tGTF5BfsAJvbnZDHTMBYgnWDxWdhiaLBIawuyHOoRL9cP4AOYeMRCWlogFoLfKx46+ AZc8xez7g0MxVFuGbY/b8dNlm3KSkfgiCQjATYV8pslQ6jxQqpDtks5w/qmqpOI/UA qcXBgvMTmMmOsX7el5cEgQtYhkldTyOAyL16CExmd0pXNfBgB+aU3e6Z42jr+XQYj9 1aWTrs2ezQC2BPDSq9fEOBythhiQie+2mrDIm0xX5oR4+fHigUj4wutYqkPib5aWzN FNkzoVx8RkrHQ== Received: by mail-lf1-f53.google.com with SMTP id 2adb3069b0e04-503056c8195so4672343e87.1; Fri, 22 Sep 2023 14:33:11 -0700 (PDT) X-Gm-Message-State: AOJu0YxmE9ArBoNwueSya63/YVb0qPGPD3HF2HFReFenSofbJdAABGwC TZe73SoIkH+ZCajzOGKt0pEhniMgRbXI4i6nK9M= X-Received: by 2002:a05:6512:224e:b0:501:a5de:afed with SMTP id i14-20020a056512224e00b00501a5deafedmr603530lfu.37.1695418390252; Fri, 22 Sep 2023 14:33:10 -0700 (PDT) MIME-Version: 1.0 References: <20230830092902.1236950-1-yukuai1@huaweicloud.com> In-Reply-To: <20230830092902.1236950-1-yukuai1@huaweicloud.com> From: Song Liu Date: Fri, 22 Sep 2023 14:32:58 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH -next 0/2] md: fix potential hang for mddev_suspend() To: Yu Kuai Cc: xni@redhat.com, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai3@huawei.com, yi.zhang@huawei.com, yangerkun@huawei.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 22 Sep 2023 14:33:20 -0700 (PDT) On Wed, Aug 30, 2023 at 2:33=E2=80=AFAM Yu Kuai w= rote: > > From: Yu Kuai > > Yu Kuai (2): > md: factor out helpers to grab and put 'active_io' > md: fix potential hang for mddev_suspend() Applied to md-next. Thanks! Song > > drivers/md/md.c | 36 ++++++++++++++++++++++++++++++------ > 1 file changed, 30 insertions(+), 6 deletions(-) > > -- > 2.39.2 >