Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3928886rdb; Thu, 28 Dec 2023 05:01:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IERIRfOUNgVPeciHVt1j5JeVwVuJf0CTI/jdg1CFaHo+/pyOMigngHrP6nQx7wu6KYDLlYd X-Received: by 2002:a05:622a:60f:b0:423:84a6:f267 with SMTP id z15-20020a05622a060f00b0042384a6f267mr15875210qta.0.1703768481502; Thu, 28 Dec 2023 05:01:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703768481; cv=none; d=google.com; s=arc-20160816; b=i8287V53jM1ozm0Ou6+Bry8myh7+cgRcP4tE1W3Lf8pnnJMbErke1xgwaunPszFsKw G/U4oobEoxTWV4GQXIdfvZ71pCh5jGZcNeMwxHiGp26OlH6NFPWxebo+yx30HuCn0xKd ykTvNZXUmXE6eZWI9TviUBaQD3lsar9iZBBEc62nEfgh0tSis6a2MD6qvCjkc3+2xRUm SUhjSEhBRK7WumMoojyliGIx5dMiXM8qtOAt5I1x2OLzDe53Ah0c/Mphqu0/Fa8J5m/J QmRmxc030UJv7vnFQxQ56W2rZxmPcStNeudefhNSSn6uNeZTwU7P5mfg0miWz9499WoD ZJVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=p73m1/f51Uam8zSUaTRxK8nRwrJMi7Xk48EvDQdbUl0=; fh=inucGFr1xsz6a94DIfUTXxw97Je/3Nu0zw5/V4Qmqiw=; b=D/+xpiogFWfcq9Qh0BrLNh0go6N6HGf2jexoOwFVUwhEn8mSHCSBEN8vduJBCHb1HC JeWTPqE09payRW84dWG+r8tirQzlp/o9Ejt6bRG9XkgsGFB4tSqpluNFyFK72vANekFW 2wzgAgQrJBrKT5YoZEJJc1t47Edl8RwVZfgqAzMq4SBM0CgfTIuaFmbz6kDqC89Uo0Yf S3Wsmo+1FYovA7hrL0LyhIHkq93OhbWcRbVzhX/LQcJi/EPtvnJLF25OCFOwle07AQ+R D0HkYsYPcCzrkAWSAqW7tbYNh9LIl7VE4A+PBey1VB72EZfJEeRroYtCtii9qtHyU/W+ Hnmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12656-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n1-20020a05622a11c100b004258614b585si16967530qtk.122.2023.12.28.05.01.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 05:01:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-12656-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12656-linux.lists.archive=gmail.com@vger.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5D0721C23367 for ; Thu, 28 Dec 2023 13:01:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4989911716; Thu, 28 Dec 2023 12:58:25 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from dggsgout11.his.huawei.com (dggsgout11.his.huawei.com [45.249.212.51]) (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 6DAE0107AC; Thu, 28 Dec 2023 12:58:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.19.93.142]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4T17pq2G2yz4f3lDn; Thu, 28 Dec 2023 20:58:11 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id BE3FD1A05BF; Thu, 28 Dec 2023 20:58:16 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP1 (Coremail) with SMTP id cCh0CgBHlQvmcI1lvcx3Ew--.36075S4; Thu, 28 Dec 2023 20:58:16 +0800 (CST) From: Yu Kuai To: song@kernel.org, yukuai3@huawei.com, neilb@suse.de Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai1@huaweicloud.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: [PATCH RESEND -next 0/3] md: some minor cleanups Date: Thu, 28 Dec 2023 20:55:50 +0800 Message-Id: <20231228125553.2697765-1-yukuai1@huaweicloud.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:cCh0CgBHlQvmcI1lvcx3Ew--.36075S4 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUU5E7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2js IEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE 5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeV CFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1l 42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJV WUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAK I48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r 4UMIIF0xvE42xK8VAvwI8IcIk0rVWrJr0_WFyUJwCI42IY6I8E87Iv67AKxVWUJVW8JwCI 42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjfUoOJ5UUUUU X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ From: Yu Kuai Hi, Song! this patchset is rebased from mainline tree, because I didn't found commit f52f5c71f3d4 ("md: fix stopping sync thread") in md-next or for-6.8/block branch. Yu Kuai (3): md: remove redundant check of 'mddev->sync_thread' md: remove redundant md_wakeup_thread() md: use interruptible apis in idle/frozen_sync_thread() drivers/md/md.c | 139 ++++++++++++++++++++++++--------------------- drivers/md/raid5.c | 6 +- 2 files changed, 75 insertions(+), 70 deletions(-) -- 2.39.2