Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5869850pxb; Thu, 27 Jan 2022 01:01:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+Q9QofFpXlk1wwqhoms0CeS7BXYZuElPAWSWnpXuP+xU4HjeA7DU9d5XKIhm3kU2jxLmT X-Received: by 2002:a17:906:9742:: with SMTP id o2mr2163317ejy.254.1643274077865; Thu, 27 Jan 2022 01:01:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643274077; cv=none; d=google.com; s=arc-20160816; b=EDZhtL1FjSXDCIIc3MOoXEqX/QSswNzN6JC85WpzQFPe81gbU01zl0ZU0QpjTstkx+ UDuIQ+5ap1KtgR2JhYxTdo+u+s8kHVruike1BfwwzEqHkoRYbjk7CDpLZk5ORpGTwbvz XGXOpeRsMhyjMHcMt3SJRl006jYw1Ur8RG4g1OODG2Er3skKnUCse6fLAcgmczyx7oIl w/3RlyH3vwJe5SElIDvKDZiDY4QI94/1n6w5uSxhBTsZ4y7BvGeYKFPtaAMPuZIsyHtE JZr3titN4SApED80Zv5aqneAxY2pWosFoM50Jca2zDT2MzAVYVI27MbLN0+4e1a9YCq8 7ibw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=3Lruzkl38C6/h8yfQEi7Yf5+pLiyB/AMzc4lzsE0BzM=; b=dHoZ7g2lfadnxC6J+sTe/h+t7Q+AD2TAgKF26yPLBDI1xsBvO8DBlYseN86ZzN6shF n8GxowYGl9P/a4CL2GXnDtNMiJaw3WGy9vAHqz7bpxQnzl+5+m1pzkVi9s+16h4OgKVm O8E7cO/LweG1ic6jxDG7lnbtGnknbTVTFqWyXMzgOW4WCDAzlWSUurDqvOupSoyxPwpU 1xtGLmEOLUBFTBbX50WOmzcAkOCHPaU2qFyCBWXswuDy12/GdQdsuNw+K1IrE6W8JZKv 1OKNwRe/t83b2NWM4RcOmjqvXl59Pjv370wfR6kwM6ZUrmZh8ZBPBmR94e07DFWshXD6 mjTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si1070015edf.175.2022.01.27.01.00.53; Thu, 27 Jan 2022 01:01:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234401AbiA0BYJ (ORCPT + 99 others); Wed, 26 Jan 2022 20:24:09 -0500 Received: from szxga08-in.huawei.com ([45.249.212.255]:32062 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231668AbiA0BYI (ORCPT ); Wed, 26 Jan 2022 20:24:08 -0500 Received: from dggpemm500022.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4JkjST73cHz1FCyj; Thu, 27 Jan 2022 09:20:09 +0800 (CST) Received: from dggpemm500004.china.huawei.com (7.185.36.219) by dggpemm500022.china.huawei.com (7.185.36.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 27 Jan 2022 09:24:05 +0800 Received: from [10.174.177.69] (10.174.177.69) by dggpemm500004.china.huawei.com (7.185.36.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 27 Jan 2022 09:24:04 +0800 Message-ID: <675f7ef8-4c59-cfb4-1c46-39c3e7ea27db@huawei.com> Date: Thu, 27 Jan 2022 09:24:03 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: "blk-mq: fix tag_get wait task can't be awakened" causes hangs Content-Language: en-US To: Jens Axboe , "Alex Xu (Hello71)" , Andy Shevchenko , CC: , , , , , , References: <1643040870.3bwvk3sis4.none.ref@localhost> <1643040870.3bwvk3sis4.none@localhost> <78cafe94-a787-e006-8851-69906f0c2128@huawei.com> <723815a5-f716-499a-acce-15028a629f3a@kernel.dk> From: QiuLaibin In-Reply-To: <723815a5-f716-499a-acce-15028a629f3a@kernel.dk> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.69] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpemm500004.china.huawei.com (7.185.36.219) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 2022/1/26 21:38, Jens Axboe wrote: > On 1/24/22 9:08 PM, QiuLaibin wrote: >> Hi Alex >> >> 1、Please help to import this structure: >> >> blk_mq_tags <= request_queue->blk_mq_hw_ctx->blk_mq_tags >> >> If there is no kernel dump, help to see the value of >> >> cat /sys/block/sda/mq/0/nr_tags >> __ <= Change it to the problem device >> >> And how many block devices in total by lsblk. >> >> 2、Please describe in detail how to reproduce the issue, >> >> And what type of USB device? >> >> 3、Please help to try the attachment patch and see if it can be reproduced. > > Any progress on this? I strongly suspect that any QD=1 setup would > trivially show the issue, based on the reports. Yes, QD = 1 from Alex Xu's must-see environment. I'm trying to build a must-see locally, and I will submit the repaired patch as soon as possible. > BR Laibin