Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1112220rwd; Tue, 13 Jun 2023 05:11:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ePEETAbT1Jsl2oTYI4JaHP4jdPhY7kRgYlEklrR4mpVOIKf71w7GP/NKSET12aEuq1By5 X-Received: by 2002:a17:90a:4508:b0:25b:e310:ca6 with SMTP id u8-20020a17090a450800b0025be3100ca6mr7145208pjg.9.1686658278556; Tue, 13 Jun 2023 05:11:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686658278; cv=none; d=google.com; s=arc-20160816; b=0pQzaqT0tbcRJWvXP420CWaX/oZHe+T8zcEUXTfvyPtfXS2iN0CTwYmb9X6/E2pAwL +NdqEAdpJC4XZAd3CsLGLa3ZIuXK9Vfv8U7kxUQS1rbApcw9Q+kkLaG3YkFqLaQ+++k2 cDey5A6tc3AsOG6FsBi4UP86cBnPjueXJk/HM273Q4R1FfSwGtxFi5jRTrmhAFR3dva4 9VEM+lfae+qfCYCC9VNuKuvDK3ZCPRHQqWWC6BQXxIU/3LRM9ADkxxd7v9x00u2H6Rkv X58/DNKxUrHqs0wwPbz69Sy3z/Q0kh0jaY16p+17uWcNov/z5i5x303q56lb/VTUHRmK UXAg== 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=2wCFmMdWjbB1VeP5YK38VDiBfurix0UMuJcVPITwWxw=; b=EtqHMRfICl6+1U8KRocyzSTGhzyYBtzA4NviiOJEV2JKgkbgb+CpsKk14g//pvAlS0 d9LuLRVtgsnb5mnlxSzEnCAaiX3wZBH6Gbw02pX0Hn94MjTKoWNjhZqjc97q48F5dUph tfMb/QkiyLKfdmRxB7PNzv+uIoddXki8NpSTdrV1beYq3IJZ5/EvSLzZSsp53EGtr+o4 3/ekia9bRCdAgJyeAuoCF/FVl6gclaMPJmFbdgZ4lR+eaGWbxeCiMhT/2fI0pybBvmWj D+8KjAxTHittOzr1GnJvHpU6q6JynYUt4i8jRX0XiBpEf1SeA6t1gpRnvrE7ziBRkR8r H4hQ== 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 v9-20020a63bf09000000b005404f8dd0easi8267856pgf.292.2023.06.13.05.11.00; Tue, 13 Jun 2023 05:11:18 -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 S242138AbjFML6Y (ORCPT + 99 others); Tue, 13 Jun 2023 07:58:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241923AbjFML6W (ORCPT ); Tue, 13 Jun 2023 07:58:22 -0400 Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9D4B135; Tue, 13 Jun 2023 04:58:20 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4QgRs46JnYz4f3pFy; Tue, 13 Jun 2023 19:58:16 +0800 (CST) Received: from [10.174.176.73] (unknown [10.174.176.73]) by APP4 (Coremail) with SMTP id gCh0CgAHcLPXWYhk+e1vLg--.58707S3; Tue, 13 Jun 2023 19:58:17 +0800 (CST) Subject: Re: [PATCH -next v2 1/6] Revert "md: unlock mddev before reap sync_thread in action_store" To: Xiao Ni , Yu Kuai , guoqing.jiang@linux.dev, agk@redhat.com, snitzer@kernel.org, dm-devel@redhat.com, song@kernel.org Cc: linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, yi.zhang@huawei.com, yangerkun@huawei.com, "yukuai (C)" References: <20230529132037.2124527-1-yukuai1@huaweicloud.com> <20230529132037.2124527-2-yukuai1@huaweicloud.com> <2d9f34b1-48e1-73a7-8548-bfd1843d3a0a@redhat.com> From: Yu Kuai Message-ID: <5a107083-488d-1a1f-152c-50c9b9313da5@huaweicloud.com> Date: Tue, 13 Jun 2023 19:58:15 +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: <2d9f34b1-48e1-73a7-8548-bfd1843d3a0a@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgAHcLPXWYhk+e1vLg--.58707S3 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYg7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2js IEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE 5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeV CFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lFIxG xcIEc7CjxVA2Y2ka0xkIwI1lc7I2V7IY0VAS07AlzVAYIcxG8wCF04k20xvY0x0EwIxGrw CFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE 14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2 IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxK x2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267 AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VUbXdbUUUUUU== 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/13 14:25, Xiao Ni 写道: > Thanks for the patch and the explanation in V1. In version1, I took much > time to try to understand the problem. Maybe we can use the problem > itself as the subject. Something like "Don't allow two sync processes > running at the same time"? And could you add the test steps which talked > in v1 > > in the patch? It can help to understand the problem very much. Ok, thanks for the suggestion, I can do that in the next version. Kuai