Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp31250932rwd; Thu, 6 Jul 2023 18:45:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlG5jHlzoiPRgEaXLNunZf66nywBn98EDWalUTloabAKPid0m7aIQ10qnxjDZqZaiYJbVTf1 X-Received: by 2002:a05:6a00:15d6:b0:668:6445:8931 with SMTP id o22-20020a056a0015d600b0066864458931mr4507321pfu.29.1688694336231; Thu, 06 Jul 2023 18:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688694336; cv=none; d=google.com; s=arc-20160816; b=dibZaRDRldlN0dXdKYcR5R350MV10k2q1O9jp2+dLS3awt5Swi/6i+UwEi5QGnOFBr SliF8AbaBzy+pLZzLdg9xAmxufQprW1BQ8m6FdRg4ACuhGznMXu3ZwVoVZ9fpiy9ucI+ 1m/iE4Uzb70Fu1b16GHcW6Fhewu0ZvZamoUFYJ3UuZ7w1eWI7ycElwwdBzCSWulUq+ZD OpzxNRbJXIespwHS6LVM9RHyR8H+D6yHSVstLQCOvBewC0qgkQtsCalPvFBxAX5osplg yXuEQvJ3prgEYilfuINzz8cXiQHOEa6F3HnWQoifJs512pWvphTBY7K7+tr6If9VoaWa kRCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=6YH2XYLatmcM6zoiFtP3MGeHKHFv9PhpouIUA9DeB4s=; fh=Hj5s1k+xzXk3KYghGfZnOnMMm38tby3BewfT5oRuYqk=; b=gkSIVgJL/exNogWqZO6xWvP5rHNFZDW/4+QMZbZlBspYmgpvdOcNjyal8/CoyxhtH0 AzR+zbdmfvo437Xp7DS5Ih11ro0SlC+dPTeYNbQg3kgJZ2F+BYqC67k6qezluYWP3I8C vSbUHWIgwzDfOw4q1PdCmEx4BH6YgYw+/LtJfOSIPqpVPm+fenI9eQUbQYxMdZg+7q2c 9PlaQHrBSQvGNi4fJsTB5Q+UzCqbsBhzJXCi2SFK5spG1aXnlJLsxo3V2/tM80S9/c88 H9TJIH+/upQWmkLz4TP6WNEdIZYmE0DCIg19n4fttTC/GBBJQf/ag4IZ+E0H9vxDtAcb eMIQ== 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 q8-20020a056a00150800b00681ad13f7cbsi2767971pfu.121.2023.07.06.18.45.23; Thu, 06 Jul 2023 18:45:36 -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 S231732AbjGGBZ1 (ORCPT + 99 others); Thu, 6 Jul 2023 21:25:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjGGBZ0 (ORCPT ); Thu, 6 Jul 2023 21:25:26 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68807113; Thu, 6 Jul 2023 18:25:25 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.143]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4Qxwgj64hBz4f3mHx; Fri, 7 Jul 2023 09:25:21 +0800 (CST) Received: from [10.174.176.73] (unknown [10.174.176.73]) by APP4 (Coremail) with SMTP id gCh0CgAHvbCAaadk7FSHNQ--.59609S3; Fri, 07 Jul 2023 09:25:22 +0800 (CST) Subject: Re: [PATCH -next 0/2] md: clean up and fix for mddev_suspend() To: Yu Kuai , xni@redhat.com, song@kernel.org, colyli@suse.de Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yi.zhang@huawei.com, yangerkun@huawei.com, "yukuai (C)" References: <20230628012931.88911-1-yukuai1@huaweicloud.com> From: Yu Kuai Message-ID: Date: Fri, 7 Jul 2023 09:25:20 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20230628012931.88911-1-yukuai1@huaweicloud.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgAHvbCAaadk7FSHNQ--.59609S3 X-Coremail-Antispam: 1UD129KBjvdXoW7GrWkury7ur4fCw4ftr48Xrb_yoW3Jrb_uF n5urZFg34Uury7WwnY93WxXrWUKFWrGF9rAa4UtF1DtF1aqFn3JrZ5Jry5G390yFW5JwnY yFySqr47AF4IqjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb4xFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_tr0E3s1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV Cq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcVAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCYjI0SjxkI62AI1cAE67vI Y487MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI 0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y 0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Zr0_Wr1UMIIF0xvEx4A2jsIE14v26r1j6r4U MIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUp6wZUUU UU= X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 Hi, ?? 2023/06/28 9:29, Yu Kuai ะด??: > 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 > Friendly ping ... Thanks, Kuai > 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(-) >