Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5495941pxb; Wed, 26 Jan 2022 13:24:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUvXyCowxdEh19MgPCJ7IcE/xpdr5cKuFyEindyGTGwCPnLtzKi9Gv5LCVw0RPwJ49aO0Z X-Received: by 2002:a05:6402:42cd:: with SMTP id i13mr794808edc.121.1643232269730; Wed, 26 Jan 2022 13:24:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643232269; cv=none; d=google.com; s=arc-20160816; b=nys1SzzzGOv2flxkAIphm1H2GlTV/PZefFwmTARSfqEcU/Tde3hRrcAP53bHqKOPqL MCkUNlR3wKyiWqfj/IGQSiqpI7ym0mhxGbmU70wq0W8Np1O+wCNPUMvAlxKjajSuczuZ rdoyurYQRxmNERN4h1kW7BnQsNo2SZPR4sNsIKBCQo0t0QtAIxYQtX4/8LpZxJGIx2L9 GSfbq/6PFl2AHlQluusj+PLmC7IrNp7lBHiZBiuynGvEa43Yh5ej8GdyXbqrCRQNTCO/ NaTqvNNtqESykUmuMZLnG8egaOrXRMOUY1KiqvNDcIk+KVOjZHS7wzlFdORMnrA/KBuT nM0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=KbzpRph0Mirr8SYyjxp9jggX64pxfscjypFnc+VjXUI=; b=QecoGUIiTk+aaV2pIScM+/EMs47903mr9O1wsFclXbCx8OJS6BDOAdXSWxOG2rz2Ng RH3k0OxQEY7bI6OlilmwPk+PGZLbE8IFSNR/HX80hGYdo5VweYoRgjqssHuDBFkkiufK 8t+jfSor9nS4fLHNdjm2BSzrS5DXxuIjI+U5a3SCN64y6IvUlgFy6ziRxEwHjWUtSY12 ev4v00zoJKFFcrq9lOqjO072cKO0OIacSqk1vOcMiWdkWm2zzaSW5dJ2OLGV/hQGN/k7 VdYTJiZWX4agqcaQQoPUOjwjnTBlPS8eZlaSCCzfu0EAX3hMn46KHDOzgfZTPZH4QqQE +7eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=2h86gEPs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si190072edc.401.2022.01.26.13.24.04; Wed, 26 Jan 2022 13:24:29 -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; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=2h86gEPs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240414AbiAZNik (ORCPT + 99 others); Wed, 26 Jan 2022 08:38:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240383AbiAZNig (ORCPT ); Wed, 26 Jan 2022 08:38:36 -0500 Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11DD7C06173B for ; Wed, 26 Jan 2022 05:38:36 -0800 (PST) Received: by mail-io1-xd36.google.com with SMTP id w7so27358809ioj.5 for ; Wed, 26 Jan 2022 05:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KbzpRph0Mirr8SYyjxp9jggX64pxfscjypFnc+VjXUI=; b=2h86gEPsZt0ZRZ84D/69gIx+ZrLslbkplVGbsOAbusBnHkfr0lUNoC7Op19I3YhizF S467/e+ilOOHR+jtKiozvpymRc9p6hhXvZpCuinpElvwJLplcrKwvhMGzWqvexKMs/xM 3FbMgA7Byz4TsskTLPdfL/sJesykdpOBUoX//Wyu8XTLVIekd2rtbA/q06qofTbnt01D qgR9bocOBcl/HhIFPWGz4OSq+LcgR96HpAYWfgWOylfvfi7lmN9JjrN+LPdOZQFwAjY2 X6Bz71oxNHWGIwtDxlyBSjgdRo0/oSjVhBOv2KchvGM1GDwxl9eXK+21vkF6OUw+vaHC 4eSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KbzpRph0Mirr8SYyjxp9jggX64pxfscjypFnc+VjXUI=; b=pXhTgw116/PaEcM0XUC3aA5WhNSMVJYO8FIsqwBfA+n+rtnOOXUyUzEtPi+I+i7E5V bSya8/gBOd6FsTn/F7XbqEqmMLsUUiTazeLdyI4/kh+J6UaZpthyMgi56E4AdnnIpCnK uVv0b42RI6xmq6AlzKk/PR5tWGaZk61i9DPoovOe/y1iakblrEJ/hkvVcBHWWFE57GOw +ShDCZaNe/DD5OVjYTqFkb5NXzmYfnXeoVZDex7dZlCTEZdlnO8Ozc+xMFnhwBOV4G2K UDtlGxaKbvTfJqrgSxCCeBsQ1xmBWkQnUYxpW9EzKPFkm08QS/OCbZf2sBx1jPnrCN3t zxyw== X-Gm-Message-State: AOAM532CmOVuQAD+Ad/sJY9jbY5vulu7JRUvhy+QbbHV0Wff8tKAi5Xd usCvDTwamZCFGsl1yxqG6cAHDpFW5L3MOw== X-Received: by 2002:a05:6602:1688:: with SMTP id s8mr13649548iow.206.1643204315186; Wed, 26 Jan 2022 05:38:35 -0800 (PST) Received: from [192.168.1.116] ([66.219.217.159]) by smtp.gmail.com with ESMTPSA id g10sm836114iov.22.2022.01.26.05.38.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jan 2022 05:38:34 -0800 (PST) Subject: Re: "blk-mq: fix tag_get wait task can't be awakened" causes hangs To: QiuLaibin , "Alex Xu (Hello71)" , Andy Shevchenko , linux-block@vger.kernel.org Cc: john.garry@huawei.com, ming.lei@redhat.com, martin.petersen@oracle.com, hare@suse.de, akpm@linux-foundation.org, bvanassche@acm.org, linux-kernel@vger.kernel.org References: <1643040870.3bwvk3sis4.none.ref@localhost> <1643040870.3bwvk3sis4.none@localhost> <78cafe94-a787-e006-8851-69906f0c2128@huawei.com> From: Jens Axboe Message-ID: <723815a5-f716-499a-acce-15028a629f3a@kernel.dk> Date: Wed, 26 Jan 2022 06:38:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <78cafe94-a787-e006-8851-69906f0c2128@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Jens Axboe