Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5434590rwb; Wed, 17 Aug 2022 18:07:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR45x3tWl1XURnYTqJJypSGurOcrg4ta3oGt5Rq6IoD6e4JulnB+LsB4yKxPgeIe6mfJaRwD X-Received: by 2002:a05:6402:430e:b0:43d:1cf6:61ec with SMTP id m14-20020a056402430e00b0043d1cf661ecmr466407edc.194.1660784841740; Wed, 17 Aug 2022 18:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660784841; cv=none; d=google.com; s=arc-20160816; b=0VYtJt+y3Q0//aF80RTiNQsjmdXo52mSyaDp0cCRMyP96QivqFUNxz8Uh9KJsiwXKy 0YQANx3tF+JF3vHk++gvI7gs5LW+rAjWbpRomTiPnwun/d9uXcHTxDZgX/O4PieUxMM9 DO/dJqlncHFjfYuCLI6ukK9zUrNtvO/LsANCmAIsbgS155mPvRAOgLe8SyQ04y+/x62X 21ZU/DpD5PZCoGddwj0q2ObAQ/5vGkXNPsrjyKFArmvYQBj2ww9n6ILhaYHPJYbJEDtU Nqne399wmVO0Jwd/FFstyRemvm4Ngwwh2P16RBfniJoQILMO4Fl2vRF9J4RyWwgyjpSK 2kWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=C60ajPdlC/CsFP22IBpGKTjlxuh488qoa5A4DbUUh+Y=; b=x/EgG0AWQfhxXfItzIXKkK9jyt+RL5muDugB76lVBCeCC3QGrelphAPx+cm+pMwbco /u07oRYddrq4tCpU7ifTEOwZE43Mrk3HReCyDDn6Kc68UWkyJ2ltSW/FBgGFA8/mWTkF qAeDz0xvov2QLqU2fGEmutsQwdyhsttBcJAlP/3RFAfjA/A95Qr9fWzGvmGOZxTaHxfS KT0G2kBSV0dtePpWdYXSRivi3MXdfZTG1YVAiYmhZIhPNjv8e53Gl//o+Jjib4YW3wUP UeOuvL2cCi4vSy23qllli1jfkfHu6Qkqw70ZxYNhiJ02CZecg9t8jZHMYh6OTxRVNVl5 SQ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TIFTsTlz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020a17090627c800b0072f24977c82si35908ejc.841.2022.08.17.18.06.56; Wed, 17 Aug 2022 18:07:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TIFTsTlz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239207AbiHRBDk (ORCPT + 99 others); Wed, 17 Aug 2022 21:03:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239618AbiHRBDh (ORCPT ); Wed, 17 Aug 2022 21:03:37 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DB9B2AE02 for ; Wed, 17 Aug 2022 18:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660784612; 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=C60ajPdlC/CsFP22IBpGKTjlxuh488qoa5A4DbUUh+Y=; b=TIFTsTlz1ofYz8MZ10G0BNg7xApfTdJyve7izl1WtolFbyJgitLNg5fA0we9ekrduI5ccP QGUFkQubAkYW3XtLhW1s7+cEFF9r22gbqlLSoUW+/mPrBlsUJ8qXzq8RLH0YLtUVP5Z0Ol EAumzGezIgqC+fi3gxKN79wVgGbFEas= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-388-Aug8zyljPeaUXo98D8mcwQ-1; Wed, 17 Aug 2022 21:03:28 -0400 X-MC-Unique: Aug8zyljPeaUXo98D8mcwQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4D1C23C01D9F; Thu, 18 Aug 2022 01:03:28 +0000 (UTC) Received: from T590 (ovpn-8-20.pek2.redhat.com [10.72.8.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 705F6492C3B; Thu, 18 Aug 2022 01:03:20 +0000 (UTC) Date: Thu, 18 Aug 2022 09:03:15 +0800 From: Ming Lei To: Chris Murphy Cc: Nikolay Borisov , Jens Axboe , Jan Kara , Paolo Valente , Btrfs BTRFS , Linux-RAID , linux-block , linux-kernel , Josef Bacik Subject: Re: stalling IO regression since linux 5.12, through 5.18 Message-ID: References: <61e5ccda-a527-4fea-9850-91095ffa91c4@www.fastmail.com> <4995baed-c561-421d-ba3e-3a75d6a738a3@www.fastmail.com> <2b8a38fa-f15f-45e8-8caa-61c5f8cd52de@www.fastmail.com> <35f0d608-7448-4276-8922-19a23d8f9049@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35f0d608-7448-4276-8922-19a23d8f9049@www.fastmail.com> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 17, 2022 at 12:34:42PM -0400, Chris Murphy wrote: > > > On Wed, Aug 17, 2022, at 11:34 AM, Ming Lei wrote: > > > From the 2nd log of blockdebugfs-all.txt, still not see any in-flight IO on > > request based block devices, but sda is _not_ included in this log, and > > only sdi, sdg and sdf are collected, is that expected? > > While the problem was happening I did > > cd /sys/kernel/debug/block > find . -type f -exec grep -aH . {} \; > > The file has the nodes out of order, but I don't know enough about the interface to see if there are things that are missing, or what it means. > > > > BTW, all request based block devices should be observed in blk-mq debugfs. > > /sys/kernel/debug/block contains > > drwxr-xr-x. 2 root root 0 Aug 17 15:20 md0 > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sda > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sdb > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sdc > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sdd > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sde > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sdf > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sdg > drwxr-xr-x. 51 root root 0 Aug 17 15:20 sdh > drwxr-xr-x. 4 root root 0 Aug 17 15:20 sdi > drwxr-xr-x. 2 root root 0 Aug 17 15:20 zram0 OK, so lots of devices are missed in your log, and the following command is supposed to work for collecting log from all block device's debugfs: (cd /sys/kernel/debug/block/ && find . -type f -exec grep -aH . {} \;) Thanks, Ming