From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 AD7491DFFD for ; Wed, 8 Jan 2025 02:22:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736302933; cv=none; b=gWsT5Yf8x/mG+oIqo3WxgDWwy8gYwTRrExA/r8Y6uN7NmYI13zj9NoY+MU3IdaEjkk97YvPLVhjDYLsGifmxb+EY2dnuTChz68qj7n5N/LvukE+m0oTvvOBDG5Whq855yuFqBqdVeqtXII1kBvWxKu6+TLgHey6hmYh/priLVO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736302933; c=relaxed/simple; bh=EXRrD5zZ3BO53qhfNw9BukEZkzxSGaRPGtQEG7bh/kI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=muB+QFu7gdwZkDnnoJh1yL0e4Cd5fTpnv0l7ji7cv4DU+tCw5Zg61sMXD9raK3llT93ycHE3sXL372/Y8rZL8SEKq3rEjPQJ1A9bjw+CkHbeXKQer8Ol75lmmGOadSylfJjVEYKbj4pfnh2FHF5zX5Qasm+euI/2Yt1G0gwEL1A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=FrubBByy; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="FrubBByy" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736302930; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BUmFn0QdcbnrP+kAJCEAifsFmvKuEgoz5SMuFeJiqRM=; b=FrubBByy+yr3OxwVH4HVEYGwaSTxl0NBiN8HF1T/CRjCxJWRBV2oJ4MDEWpZdg3atwzHMH Zj5yVN3mKr9ro1i+lFRx/GR3g/RFq29/cHZ4oRq0bdnF9Xwb7fV6y9ULlfZ5Gd3FdioYW7 Ed1EywQ1gDd0Jc1hFqXqEMBFW5hAf2Q= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-82-rFxU6K-JNFO5J-Hw5JdVVw-1; Tue, 07 Jan 2025 21:22:07 -0500 X-MC-Unique: rFxU6K-JNFO5J-Hw5JdVVw-1 X-Mimecast-MFC-AGG-ID: rFxU6K-JNFO5J-Hw5JdVVw Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D476919560BE; Wed, 8 Jan 2025 02:22:04 +0000 (UTC) Received: from fedora (unknown [10.72.116.126]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id E153D3000197; Wed, 8 Jan 2025 02:21:58 +0000 (UTC) Date: Wed, 8 Jan 2025 10:21:53 +0800 From: Ming Lei To: Christoph Hellwig Cc: Jens Axboe , Damien Le Moal , 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: Re: fix queue freeze and limit locking order Message-ID: References: <20250107063120.1011593-1-hch@lst.de> Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250107063120.1011593-1-hch@lst.de> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 On Tue, Jan 07, 2025 at 07:30:32AM +0100, Christoph Hellwig wrote: > 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 > loop_set_block_size() needs same change, can you cover it to this series? Thanks, Ming