From patchwork Tue Apr 23 12:29:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Reinecke X-Patchwork-Id: 10912863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D5D271708 for ; Tue, 23 Apr 2019 12:30:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C544228462 for ; Tue, 23 Apr 2019 12:30:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B98BB2863C; Tue, 23 Apr 2019 12:30:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A736286F7 for ; Tue, 23 Apr 2019 12:30:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727225AbfDWM37 (ORCPT ); Tue, 23 Apr 2019 08:29:59 -0400 Received: from mx2.suse.de ([195.135.220.15]:37888 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727673AbfDWM37 (ORCPT ); Tue, 23 Apr 2019 08:29:59 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C5AD1ADE6; Tue, 23 Apr 2019 12:29:57 +0000 (UTC) From: Hannes Reinecke To: Ming Lei Cc: Christoph Hellwig , Jens Axboe , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Hannes Reinecke Subject: [PATCH 0/5] blk-mq: fixes for Ming Leis V6 patchset Date: Tue, 23 Apr 2019 14:29:46 +0200 Message-Id: <20190423122951.134531-1-hare@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Ming, to clarify my comments to your patch to introduce dead_hctx_list here's a small patchset to address my concerns. If you agree it would possibly be best to fold it into your patchset. Patches are relative to the 'nvme-5.2' branch of the nvme git repository plus the 'V6' iteration of Mings patchset 'blk-mq: fix races related with freeing queue'. Hannes Reinecke (5): blk-mq: rename 'dead_hctx_XX' to 'unused_hctx_XX' blk-mq: drop 'hctx_idx' argument from blk_mq_alloc_hctx() blk-mq: remove 'nr_queue' argument in blk_mq_exit_hw_queues() blk-mq: Set hctx pointer to NULL in blk_mq_exit_hw_queues() blk-mq: free q->queue_hw_ctx in blk_mq_exit_queue() block/blk-mq.c | 45 +++++++++++++++++++++++++-------------------- block/blk-mq.h | 2 +- include/linux/blkdev.h | 6 +++--- 3 files changed, 29 insertions(+), 24 deletions(-)