From patchwork Sun Oct 30 05:26:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinlong Chen X-Patchwork-Id: 879 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1649824wru; Sat, 29 Oct 2022 22:33:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM69B19qw1PlFZq2Mj0MJMAUn0wyEp9ElgzklQmq4k6mYovcgYdgn9212ggNbJ3WMaRK3aSS X-Received: by 2002:a63:c3:0:b0:439:72d7:7e1f with SMTP id 186-20020a6300c3000000b0043972d77e1fmr6786586pga.524.1667107990772; Sat, 29 Oct 2022 22:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667107990; cv=none; d=google.com; s=arc-20160816; b=Ro2Dp1VLUk2ndgukOH1eZ0tCibuRCUjLkolGjbui2DnqPPXQ7Yv1bRajm4STh0HemG Ulsn1ZLuaKDOWV72r5kYLucoGDnmZmMH4w8XOIdbxUE2hv3dBr5VRWyVRjoGaNJqbuca GsRrxzv95tHUEHcBz7hUSdvkkXCUMSGoudPwla9Nt6y0sXQ9TaWzsnp1NI7yiNXQvmXU fKy4z1PYNStD/4XSGOuxNlYsrDjQPWGqUQCeTBiVofQBh5R0OYfS7Vtuyem8JZcuhFp5 LsRo6f6RHDafUU9aGYTQF17+ci5euLL2P9RkT2f1KxfFWHBSZjcBy8WKf9QkGZjsf1Bu AGaw== 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=Fd59x17M/bSTGh7qDnL0nitX8WiroxyrgDEMjQ3w8dM=; b=WYkRhZLc8J1HzIdDXzNngu8ZreAZCw0FkXtx/hOW53smYscREDSfle9U97l8sZgH5x er8g58glJ6peeaa8daZMD0F0SaeugT4TZs8VSMs9N4vPlqcpDiJUMCjnjXS+ZdgF/iv4 RNjFj9kqujHpPh4mTTOKGwNiGaHIAnYWr/tv8SOnsS0XKUy7vm4rkHkwrGOJvZtLYKFJ ZyQe0e7AkZl/MQenjelEN3bV07g8oFueQe933CPUzwlB/Ix9V7Urqug5bFt4BTQ/1nxF qdpXfO9aqUdlzAV1Rs1NIFtwpTz7FxHcs5muEYl6k0h26zjleyOycHaSQjF6DHfS/tE/ wq5g== 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 d21-20020a63fd15000000b0045beac6749csi4675263pgh.633.2022.10.29.22.32.47; Sat, 29 Oct 2022 22:33:10 -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 S229642AbiJ3F1y (ORCPT + 99 others); Sun, 30 Oct 2022 01:27:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbiJ3F1u (ORCPT ); Sun, 30 Oct 2022 01:27:50 -0400 Received: from zju.edu.cn (mail.zju.edu.cn [61.164.42.155]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 432313A4A2; Sat, 29 Oct 2022 22:27:47 -0700 (PDT) Received: from localhost.localdomain (unknown [10.14.30.251]) by mail-app3 (Coremail) with SMTP id cC_KCgBn3qlCC15jnGV2CA--.28011S2; Sun, 30 Oct 2022 13:27:36 +0800 (CST) From: Jinlong Chen To: axboe@kernel.dk, kbusch@kernel.org, hch@lst.de, sagi@grimberg.me Cc: bvanassche@acm.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, nickyc975@zju.edu.cn Subject: [RESEND PATCH v2 0/3] queue freezing improvement and cleanups Date: Sun, 30 Oct 2022 13:26:43 +0800 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CM-TRANSID: cC_KCgBn3qlCC15jnGV2CA--.28011S2 X-Coremail-Antispam: 1UD129KBjvdXoWrZr4DCF48AF4kXr43AF15twb_yoW3Wrc_ua 48AFyxKrs7GF13ZFy2k3W3AFWqka1DXr1jqFWjqrW5Ar97AF45Ja1S93ykWws8Wan7Cas3 Jr1UGr1fJF47XjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbs8Fc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AK wVWUJVWUGwA2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20x vE14v26w1j6s0DM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E 87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1lnxkEFVAIw20F6c xK64vIFxWle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2Wl Yx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbV WUJVW8JwACjcxG0xvY0x0EwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1l42xK82IYc2Ij 64vIr41l42xK82IY6x8ErcxFaVAv8VW8uw4UJr1UMxC20s026xCaFVCjc4AY6r1j6r4UMI 8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AK xVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI 8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280 aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43 ZEXa7VUbHa0DUUUUU== X-CM-SenderInfo: qssqjiaqqzq6lmxovvfxof0/1tbiAgcTB1ZdtcKSqQAAsW 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?1748080439237505241?= X-GMAIL-MSGID: =?utf-8?q?1748089428736902292?= Hi! This series of patches improves and cleans up queue freezing in blk-mq.c to build a clearer blk_mq_* namespace. Changes in v2: - improved descriptions in patch series title and patch 1 (suggested by Bart Van Assche ). 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(-)