From patchwork Sat Oct 29 10:02:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinlong Chen X-Patchwork-Id: 860 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1273961wru; Sat, 29 Oct 2022 03:05:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7MQBO19q7ih29TGi03C1A5W5ZpG5WckO/UWrDYL8PolKsDCzdhx+CUU3g0zg4jUmPin582 X-Received: by 2002:a17:907:318b:b0:740:33f2:9e8 with SMTP id xe11-20020a170907318b00b0074033f209e8mr3223094ejb.138.1667037905208; Sat, 29 Oct 2022 03:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667037905; cv=none; d=google.com; s=arc-20160816; b=F75KID5ZKaycxi7/RoD+fX4VDCqCfxKrhto1qCdU0Xdpkua78iK5kUZTNlJ65asQrk wHbNUHCmZpHdvCLlNJ2ZYraFDQXEb3qRneVIqu1EtOLWfaoUROuzh+S53Guz/qTi+V9j 2b1HaKHzbJDbsE/sc59XTG8q8SjV+oh70dgyCcbtiBP4ZHs6Ff0uZwhF7Y3k69qhOERU 5+ieYqMVenQIaaFqFD6cwb8z75r9E0F2jPQQ5LE/g37SPyC+08CHs3sm53OOGqZYZeh0 ge9jhM+Q6JtlbwuD/fZVEps1CO/ZoaylEj++cYSORGNy1rQHU4OHDmO6TESYLPpgJccj mA6A== 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=AOfsiDUNNbpwxqfR9/vrXxfHuoxKdilPoAVBE8QWxaI=; b=Yf79DsLbmOPPpmLQ2sDybJZq9qQntIlji+1Ys7Kqh5ZQ9nMmiR2DclOL6AvKPE6tQU MCmjIZu1w7aJ5hD8QgBI42SkYiS0dIDxtAnP19rcZGFwOrFsryIIYT9nCwqIhigMW6Ln gfifHaso0F2JUJwBwJA8M42hwMiuySs004VJp61Aj7Qj1iTZT6L/uixT7OxOiTGMAD76 FQNI0amkefzqEzMKydsxQqMFGw9ZAUVs9dxH5b46oKngbw7J81VabyaiIyvSPRf9Qb2y hV6HQb4GrpcPzMTFf+hQYbrpn8oHBA6UqcTkZ7qCprkx7TlhWQ1qMpCbhbdNd5rXu+T3 0VOg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du16-20020a17090772d000b00781c1645926si1385859ejc.524.2022.10.29.03.04.41; Sat, 29 Oct 2022 03:05:05 -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 S229674AbiJ2KCj (ORCPT + 99 others); Sat, 29 Oct 2022 06:02:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiJ2KCi (ORCPT ); Sat, 29 Oct 2022 06:02:38 -0400 Received: from zju.edu.cn (spam.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 250036918A; Sat, 29 Oct 2022 03:02:35 -0700 (PDT) Received: from localhost.localdomain (unknown [10.14.30.251]) by mail-app3 (Coremail) with SMTP id cC_KCgCHjQwl+lxjdEpxCA--.43876S2; Sat, 29 Oct 2022 18:02:24 +0800 (CST) From: Jinlong Chen To: axboe@kernel.dk, kbusch@kernel.org, hch@lst.de, sagi@grimberg.me Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, nickyc975@zju.edu.cn Subject: [PATCH 0/3] cleanups for queue freezing functions Date: Sat, 29 Oct 2022 18:02:08 +0800 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: cC_KCgCHjQwl+lxjdEpxCA--.43876S2 X-Coremail-Antispam: 1UD129KBjvdXoWrWw43Wr4fKF1DWF1kZFyxXwb_yoWxGwc_ua 4UAFyxtFykGFy3ZFyjkF1UAFyqkw4Utr1jqFWqqrWUAryxAFs8Aw4S9r4kWrs8WanrC3Z7 Gr1UGr1xJr47XjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbIAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AK wVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20x vE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E 87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1lnxkEFVAIw20F6c xK64vIFxWle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2Wl Yx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbV WUJVW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1l42xK82IYc2Ij 64vIr41l42xK82IY6x8ErcxFaVAv8VW8uw4UJr1UMxC20s026xCaFVCjc4AY6r1j6r4UMI 8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AK xVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI 8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280 aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyT uYvjfUOlksUUUUU X-CM-SenderInfo: qssqjiaqqzq6lmxovvfxof0/1tbiAgwSB1ZdtcJ3NgAAsm X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748015938558965063?= X-GMAIL-MSGID: =?utf-8?q?1748015938558965063?= This series of patches cleans up non-blk-mq functions in blk-mq.c to build a consistent blk_mq_* namespace. Jinlong Chen (3): blk-mq: remove redundant call to blk_freeze_queue_start in blk_mq_destroy_queue blk-mq: remove blk_freeze_queue block: hide back blk_freeze_queue_start and export its blk-mq alias block/blk-core.c | 13 +++++++++ block/blk-mq.c | 52 ++++++++++++++--------------------- block/blk-pm.c | 2 +- block/blk.h | 2 +- drivers/nvme/host/core.c | 2 +- drivers/nvme/host/multipath.c | 2 +- include/linux/blk-mq.h | 2 +- 7 files changed, 39 insertions(+), 36 deletions(-)