From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95B3CE77197 for ; Tue, 7 Jan 2025 06:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=TreWHTKV2tbBOHQr6HaKSg8mx5igp3LbRHsuMCPKwNw=; b=X1hLHWChsMrK2qXsTPSZ8P53by sv9RtG9ZHJf7RJZLh8SBhqBjY3m8y+OQwbXFF7j7LagI5RhNLpWp4hJrT5Wqi2K+wgbzOBo5HGFAe H5vRZVpkxSmj0JV0lJvHZsB6rgnYTpqG+hqxKbm8s6D7mibyRP+oB1M/mBOZjIUltw9zAHSsOkKIl OmVEOFGEwPGUtG8tJMKNSN4DzIzez6MTMs27WXAM8ELpTg5h4px+9HotoD4QxEvWXw9DOOJPN7HNu 63goEQ3FswH4PfhO6JmqyNb0KbL+gzDN172I9PE/asYetQcIBZEUKzemh0AvD/GMsO1pe5PhaY0k+ KHnmSauA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tV37d-00000003dpY-4Aoy; Tue, 07 Jan 2025 06:31:25 +0000 Received: from 2a02-8389-2341-5b80-d467-d75d-35bf-0eb6.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:d467:d75d:35bf:eb6] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.98 #2 (Red Hat Linux)) id 1tV37b-00000003dok-2sfk; Tue, 07 Jan 2025 06:31:24 +0000 From: Christoph Hellwig To: Jens Axboe Cc: Damien Le Moal , Ming Lei , Nilay Shroff , linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, nbd@other.debian.org, linux-scsi@vger.kernel.org, usb-storage@lists.one-eyed-alien.net Subject: fix queue freeze and limit locking order Date: Tue, 7 Jan 2025 07:30:32 +0100 Message-ID: <20250107063120.1011593-1-hch@lst.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org Hi all, this is my version of Damien's "Fix queue freeze and limit locking order". A lot looks very similar, but it was done independently based on the previous discussion. Changes since RFC: - fix a bizzare virtio_blk bisection snafu - set BLK_FEAT_POLL a little less eagerly for blk-mq - drop the loop patch just adding a comment - improve various commit logs and coments Diffstat: block/blk-core.c | 17 ++++- block/blk-integrity.c | 4 - block/blk-mq.c | 17 ----- block/blk-settings.c | 27 ++++++++ block/blk-sysfs.c | 128 +++++++++++++++++++---------------------- block/blk-zoned.c | 7 -- drivers/block/nbd.c | 17 ----- drivers/block/virtio_blk.c | 4 - drivers/nvme/host/core.c | 9 +- drivers/scsi/sd.c | 17 +---- drivers/scsi/sr.c | 5 - drivers/usb/storage/scsiglue.c | 5 - include/linux/blkdev.h | 5 - 13 files changed, 123 insertions(+), 139 deletions(-)