Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5509503rwb; Wed, 17 Aug 2022 20:04:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR7VDTdM7RlkPyWBFoRWQBeTHwy4sayyrxnKGi1QvFCy2YiYftcza90cUx0KQB1RTGuTK4/z X-Received: by 2002:a17:90a:5888:b0:1f5:f1d2:54bb with SMTP id j8-20020a17090a588800b001f5f1d254bbmr6472834pji.178.1660791841399; Wed, 17 Aug 2022 20:04:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660791841; cv=none; d=google.com; s=arc-20160816; b=pTjLG/+IasVYCFilhbdOIMu/geSYODk8LnjxdPeWSDT/k3p/gIf6WfHQ4oNGb2ZrPr wYj9Xkarn+VLuijtPIk0107j8Qppi3OTH/Y7XYwYg48wwFmJDjvAOrmjwpgojlnn+vpP 7zaYesgPUYelO/hmNIOIJUIiI0GYJMHakL+J2V2Selyr+gFAAU8zp5tv+umDVatemf01 j63la3Q2LKG3rwzS8Ozm47Q7U9m3gDMgaHnRpTHPR3+0gkX8UmozqNNzAWstgK0VArSl s9hK2iFr09O9mi7YBMD9CMEKUj4AZ/peWxH0prgMt9J2GHtmjxZxC/z3sHTmb8+lf+Ea qzow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=lO/JKX725MxkaV2mB43UwzOt6HEFIjiXCMp5dmQPbbQ=; b=S75xNi24VYq451uX1xS3k7FKhjpWqhHZkvd1XSlqvtMucMs3y+ry1Y+02UOlSYuC6g t7DkIYelvMhGZ6ZkPyBexfGC/BU5umk0DpO7x62Ll4TxtffPuSh9aFKtAe4GT6+PN7IA ahsjD7cEWcmJnDLTsu5ZI/AiLFZTQEy/KxyL/3MZOQ9XKDGsNFF9/QsxxdNU9jzZd/wX pzVX5njvYPRxFuut9ly3DvFF5zM1mNXnqzUW17Y7gTTIcvyb5+0h707g2jcAOXOS18db r3Ke+4+BVD/MefoLy3JVcpy1xwmA9H2HsRe46XCLfMc3elzA/Iq/wu7ioRrCCYpuS9WL s99w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@colorremedies.com header.s=fm1 header.b=frC09Oac; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MDssPZFW; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m13-20020a63ed4d000000b0040d98671b7esi373680pgk.575.2022.08.17.20.03.49; Wed, 17 Aug 2022 20:04:01 -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=@colorremedies.com header.s=fm1 header.b=frC09Oac; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MDssPZFW; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242800AbiHRCbH (ORCPT + 99 others); Wed, 17 Aug 2022 22:31:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238901AbiHRCbE (ORCPT ); Wed, 17 Aug 2022 22:31:04 -0400 Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C2BB1019; Wed, 17 Aug 2022 19:31:03 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id CC5F75812BA; Wed, 17 Aug 2022 22:31:00 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute3.internal (MEProxy); Wed, 17 Aug 2022 22:31:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= colorremedies.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1660789860; x= 1660793460; bh=lO/JKX725MxkaV2mB43UwzOt6HEFIjiXCMp5dmQPbbQ=; b=f rC09OacJ36xtRXw3Og6jfy4pD0h9dzuyZQ/Q+sb9t7XQCTfRpIzeB5a1wVgt87TH oIvDFjHQv/4EK/R1kpRTbS/NinshF6E5M5ZpS+TVn6JN+bgxZGe3VOro1YPKsi5q ien4DuwAZwhaBI3QZjEX4jwPHnMILcwUhtU8HXvAHNHPVcKVkO6tKhLH8VRtla6G YQ289oJWkiV6SlrY5goV80i0uMQoYJUywuv4iO2ooJZqrOPoMBdoedcI8VcGTJFJ pJWZpaulj4B1GH1b8PpCE4EXMKG+D4WK/by5KCemFsG6kOrCXrO5t7bdVPXrMWAW P8GMqdo+mpWyT3PuObU4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1660789860; x=1660793460; bh=lO/JKX725MxkaV2mB43UwzOt6HEF IjiXCMp5dmQPbbQ=; b=MDssPZFWLeCbfkYiSecfWW++fc0xPwXpOawEH5sA7gif iFlRMcNrXMs+keVMJrmm/i7CRPreS4SVNdTEulHRy4tledhSD2ck0GIFJ5/A3Zz9 kcCKLjvtBjIPFaDxfVUIwTmQp89/945LlAfN0FqK8Vkejoq3niavc/GsYThQwM9j FUz5Aw1YImYh/McBwNZjrSxFKAsdf5055p3E9bCWoPQxWSh3TYcXRFXnOyMIrwDA Eivs3unx4CetA0JdCO0jRPL1toE9qrbcyHA368Apbr7byt2QDgzeR8knw7l+L88t gy+0DxqwwoEqbBRzroElE4p6/R/KJJuNyHxPTV+xrA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehjedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepofgfggfkjghffffhvfev ufgtsehttdertderredtnecuhfhrohhmpedfvehhrhhishcuofhurhhphhihfdcuoehlih hsthhssegtohhlohhrrhgvmhgvughivghsrdgtohhmqeenucggtffrrghtthgvrhhnpeef heeliedugeeuleetffeuheegkeetgfdtveevudffgfejvdegveeljefhvdefhfenucffoh hmrghinhepghhoohhglhgvrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomheplhhishhtshestgholhhorhhrvghmvgguihgvshdrtghomh X-ME-Proxy: Feedback-ID: i06494636:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 1EE441700082; Wed, 17 Aug 2022 22:31:00 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: <568465de-5c3b-4d94-a74b-5b83ce2f942f@www.fastmail.com> In-Reply-To: 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> Date: Wed, 17 Aug 2022 22:30:39 -0400 From: "Chris Murphy" To: "Ming Lei" 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 Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 9:03 PM, Ming Lei wrote: > 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 . {} \;) OK here it is: https://drive.google.com/file/d/18nEOx2Ghsqx8uII6nzWpCFuYENHuQd-f/view?usp=sharing -- Chris Murphy