Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18499345rwd; Tue, 27 Jun 2023 18:41:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6/nHsJwGRV4Rxn+AqlG08TM7ZNJmUZpPHTLR9HZ0ibjUifk6s/Z7rMTXxdOm7G3oWBXVJ+ X-Received: by 2002:aca:230e:0:b0:3a1:f3d6:4e7a with SMTP id e14-20020aca230e000000b003a1f3d64e7amr3402716oie.13.1687916483730; Tue, 27 Jun 2023 18:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687916483; cv=none; d=google.com; s=arc-20160816; b=HYhjGxl1k7msbaVMgrp4zW9o1lCepAp1SpqF1IAdApBLVFntF02QoIAfp2P0hi/CWt +ATXZEdQWlkz1DCz+kn6sJjA3VGGywSZXyZxVG1168NYoTfax219SvA+M1h6cys1DerS ZOhOcAfFr88Qu5xSmZ/Jw7PyZ6RScZNFeANHWFPy4zwo6WHvdTf012I2VmNMNu72uu58 1i/6UjMPTN1gwianFl6Y1/FETlbpDk9HT2tcbg1dzbuGyRETmI03bYRjQRVqBVcoWgTs MhM9tARxXIK7kjXSktvsMJ8t+vj30F55N9kOmPNMPgBPeGM56CUyoURd4okJOLEMJnVs Qv6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=n6FdwCo/AHREME/qGmFA54kyufJe8uxVPlf2pp8KHVk=; fh=iMZZX0FFO55NaIpXGwWN3J7WjJd6DgeE9WUHpdANwGQ=; b=YGqPkeGyR0Yx1wUQU1bh0SFsWTMhDquOMyh9ysG82y2Ta7bJ55kQrNUtOVGXNO1VvB jhUyGDRjZAmdMLr7menYlRVMuQFegg8JmgadaA9Ca1LdiJtqIgwoiahrUq80UasT93J1 5qskeQHfTZj6B/RoJy91ugtSWg/ilJIMu+yDtzuomFuR3pmOrBRhl+XvGyoONFr29tCq ZINBkH5Dwyz1U2C7f5kNO9UF7RCdDG5EZyEnq2rrHZI5Mkyg3AyUi8VFdASx9cCA0DME W6LB/YTuuQSwk6m6T++3J+pEHWyQM2TO+QZx0MtYQU7In9O286NN7k+r+ZFDL70XDq98 w1pg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ce12-20020a056a002a0c00b0065b4e2b52c5si7581704pfb.196.2023.06.27.18.41.03; Tue, 27 Jun 2023 18:41:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230313AbjF1Ba2 (ORCPT + 99 others); Tue, 27 Jun 2023 21:30:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjF1Ba0 (ORCPT ); Tue, 27 Jun 2023 21:30:26 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEC752979; Tue, 27 Jun 2023 18:30:25 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4QrPCd5b5Nz4f3kpy; Wed, 28 Jun 2023 09:30:21 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP4 (Coremail) with SMTP id gCh0CgAHcLMtjZtksx7IMg--.35564S4; Wed, 28 Jun 2023 09:30:22 +0800 (CST) From: Yu Kuai To: xni@redhat.com, song@kernel.org, colyli@suse.de Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai3@huawei.com, yukuai1@huaweicloud.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: [PATCH -next 0/2] md: clean up and fix for mddev_suspend() Date: Wed, 28 Jun 2023 09:29:29 +0800 Message-Id: <20230628012931.88911-1-yukuai1@huaweicloud.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgAHcLMtjZtksx7IMg--.35564S4 X-Coremail-Antispam: 1UD129KBjvdXoWrAF47ZF4kurW8Xry3Gw13XFb_yoWxGFc_uF 95CrW3KryUuay7uw1F93W8Xr4UKFZ5WasrZa4UtrsrtF12gFn3Jr95Jr1UWr4vvFW5Jw1Y yr9aqr47Ar1S9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbzkFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV Cq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUGVWUXwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCF04k20xvY0x0EwIxG rwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4 vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IY x2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26c xKx2IYs7xG6rWUJVWrZr1UMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7Cj xVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUZa9-UUUUU= X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 From: Yu Kuai This patchset is minor changes that I found by code review while I'm working on synchronize io and array configuration. I'm planing to refactor mddev_suspend() from: mddev_lock // array configuration mddev_unlock and: mddev_lock mddev_suspend // array configuration mddev_resume mddev_unlock to: mddev_suspend mddev_lock // array configuration mddev_unlock mddev_resume Yu Kuai (2): md: don't quiesce in mddev_suspend() md: restore 'noio_flag' for the last mddev_resume() drivers/md/md.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.39.2