Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4623374pxb; Tue, 25 Jan 2022 14:48:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJz71UQnsLT2LR8/Mcikeo98FxLFRYZWMTcvtHTPZlgv6SqM5yaBxIV8svzQSqCeM/7BFv40 X-Received: by 2002:a17:902:a38f:b0:14a:ec8d:51ac with SMTP id x15-20020a170902a38f00b0014aec8d51acmr20650625pla.132.1643150901753; Tue, 25 Jan 2022 14:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643150901; cv=none; d=google.com; s=arc-20160816; b=GfjUgzqJzRtAnZ6bM8ISLLsrQmOBZHhFOIw15hAFMJiYJIY3srzJjFt2nEAmESHFMr 7MjQqn5sQsPF5b/PyDmP+kdhM8LXfoFphmvbV1ufElAcwSNyAIeGE78waPdhmu0naa9g UqMjzDx3b88Vv4g2QWnQNB0gHdCFuikk2yVToLlUCG22WC3U+xfpWr7y+QMdQiF5hUPF XhPwHOzZIB9hiKZMu/i61jjm6+YiMok8bL3w7BGBimNqUEoR5xGG3J2ZQu/d5d7lsHIx /v7E2ocS9U29YyJKCKM56XfsacFOwZmqsDbQcSYvDNyXRrO6xWn2MYGdAvAmNt12I0PQ +UQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id :mime-version:in-reply-to:references:cc:to:subject:from:date :dkim-signature; bh=W1FnFYdavyQlYiM/uuwdQDRcOc93SjxE81qWWEYe6Ng=; b=uUxN6VPGuv+H1rVHUWRdUm596fLFx+rcFR8okuqBrR/rT3BeyJkUhqZblYhnbwy2l6 z5R3n2f1y1PvrG3+Av8AL2fmgdjfI/IZ4OXzCpqMwzEqj2472frObQqW3RpEt6973ym0 OhaExyySze61nonmc/Nmv0Cmm1pgjrwo5y04xjfZ7JJMDEkeV24n5dXzV3tDeZ+j16m5 5OriH1E8DkadCfHC6Dg1/RLxoX5zJi+1ZNiW92FglGoETQ4xytKVuc22Nn/2nvW2kvNl Tart2sUaPkd3Xw6zqIDaTeug+3ro0LjriCb+hjPZdAn7rhaIsyY5b3Esu/lUfy8ez9MP KATQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=Rhd8Kojz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y2si92623pfi.316.2022.01.25.14.48.10; Tue, 25 Jan 2022 14:48:21 -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=@yahoo.ca header.s=s2048 header.b=Rhd8Kojz; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233789AbiAYPSR (ORCPT + 99 others); Tue, 25 Jan 2022 10:18:17 -0500 Received: from sonic303-24.consmr.mail.gq1.yahoo.com ([98.137.64.205]:40827 "EHLO sonic303-24.consmr.mail.gq1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359359AbiAYPPx (ORCPT ); Tue, 25 Jan 2022 10:15:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1643123750; bh=W1FnFYdavyQlYiM/uuwdQDRcOc93SjxE81qWWEYe6Ng=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From:Subject:Reply-To; b=Rhd8KojzEurxfg73PMC4sbMKIsU1JGde39XPt3zJRmZwvFiHackvzQlRcYmtrLPEdGOVLwdY/6GslG9HTu/j8Omz9R3tw9feYyfY06BDZAREKVtuwQU/Dwsf1hKJqInAdHfjtaKlN9GT7JhWIwosewbEdGNJPTuoWTvBq8Ixj5DG83FrwKuJFBQqb4EIGWXzwb4g6vJqyHwCZYop7ieacJZQ7rRKtgvNp8BQFr0pZa432WEpTcMgfvV47g84Y/cjqujxQ0VCFJ08didh5PonSwNxXKFdrL/zKQp+u6iPwX4leysxkF/IKgdM2rkCY+IuwPmZk7FCuyQi2ggo1o+woA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643123750; bh=Tvc5KMN89e/YUtEJzf53mfd2o5IbWQBRFwtLDH154x5=; h=X-Sonic-MF:Date:From:Subject:To:From:Subject; b=X6UMNPbG+ezRpZ7MpggDt1m06MN97HpNrZHh5jbWSyz6Q8tQg+3rU47iloQBw3JUI/N554gAnqy5WY60AIVFGWFj1lYM+ODNHIJaZw6gelCOCUlRIYLCFoNHWMnCJp3OT1GnIkEzqdzZO30YcxiSm5QpMAbr1wDXrqHMoXSameU7MQux+WcfM2a8jo4vXr2dpI5yksVGCn8OEBgh8DC/fegX2vjGzUgyyG+A1e8glL5Gsdeos2uoYVJwA1K27jfsJWmZPM84iFkP+AOo22YPpLKwvGg+ZCKISW60DZHkP61s79cLADHW4Z5nnZFy7oMJO8zqfHQY8TgPAiNHINv61w== X-YMail-OSG: IWs0ZA0VM1k4fOZG7KdkFi2uwbleyk1Je1HFy04MFHxqyT6K.Ai4hb1LI_P78X8 Zidc8kBt.oXGjigqjnr9JFhRt_MVc210InpqlSu71MHl3ESl4aIL51gHWklmlKm1gAzddz_vMVLD Wba.X0S80fuxWcpN5iDkheZUKKTHBURybHiHIqTq4qaoJLrMtNt.mKJEvfeRej5leVvUUP6QLieN LE9ZSpSfKXdML_QLpqVnk9HQhFJmlR4oHHFuj.1QUEIMFHsvBkdyz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1.yahoo.com with HTTP; Tue, 25 Jan 2022 15:15:50 +0000 Received: by kubenode523.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 12639cd08c3790f326dd7cfd6ce75ecb; Tue, 25 Jan 2022 15:15:45 +0000 (UTC) Date: Tue, 25 Jan 2022 10:15:41 -0500 From: "Alex Xu (Hello71)" Subject: Re: "blk-mq: fix tag_get wait task can't be awakened" causes hangs To: Andy Shevchenko , axboe@kernel.dk, linux-block@vger.kernel.org, QiuLaibin Cc: akpm@linux-foundation.org, bvanassche@acm.org, hare@suse.de, john.garry@huawei.com, linux-kernel@vger.kernel.org, martin.petersen@oracle.com, ming.lei@redhat.com, Daniel Palmer References: <1643040870.3bwvk3sis4.none.ref@localhost> <1643040870.3bwvk3sis4.none@localhost> <78cafe94-a787-e006-8851-69906f0c2128@huawei.com> In-Reply-To: <78cafe94-a787-e006-8851-69906f0c2128@huawei.com> MIME-Version: 1.0 Message-Id: <1643123281.zt4edu32d8.none@localhost> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.19615 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1811 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Excerpts from QiuLaibin's message of January 24, 2022 11:08 pm: > Hi Alex >=20 > 1=E3=80=81Please help to import this structure: >=20 > blk_mq_tags <=3D request_queue->blk_mq_hw_ctx->blk_mq_tags I don't understand what you mean. > If there is no kernel dump, help to see the value of >=20 > cat /sys/block/sda/mq/0/nr_tags > __ <=3D Change it to the problem device The affected device returns 1. My understanding is that mq does not work=20 with legacy non-UAS devices. > And how many block devices in total by lsblk. My device topology roughly looks like: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 [snip] 0 disk =E2=94=9C=E2=94=80sda1 8:1 0 [snip] 0 part =E2=94=9C=E2=94=80sda2 8:2 0 [snip] 0 part =E2=94=94=E2=94=80sda3 8:3 0 [snip] 0 part sdb 8:16 0 [snip] 0 disk =E2=94=9C=E2=94=80sdb1 8:17 0 [snip] 0 part =E2=94=9C=E2=94=80sdb2 8:18 0 [snip] 0 part =E2=94=9C=E2=94=80sdb3 8:19 0 [snip] 0 part =E2=94=94=E2=94=80sdb4 8:20 0 [snip] 0 part sdc 8:32 1 [snip] 0 disk =E2=94=9C=E2=94=80sdc1 8:33 1 [snip] 0 part =E2=94=94=E2=94=80sdc2 8:34 1 [snip] 0 part nvme0n1 259:0 0 [snip] 0 disk =E2=94=9C=E2=94=80nvme0n1p1 259:1 0 [snip] 0 part =E2=94=94=E2=94=80nvme0n1p2 259:2 0 [snip] 0 part =E2=94=94=E2=94=80root 254:0 0 [snip] 0 crypt / > 2=E3=80=81Please describe in detail how to reproduce the issue, 1. Plug in the device. 2. Execute Show Blocked Tasks. udev is stuck. > And what type of USB device? It is a cheap unbranded USB flash drive. > 3=E3=80=81Please help to try the attachment patch and see if it can be re= produced. From a quick test, it appears to resolve the issue. > Thanks. Cheers, Alex.