Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4955637rwb; Wed, 17 Aug 2022 08:37:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR7FsB6d/XGj2+pr3jmoOTddmrH9aFsI3HYkBY8ioNsmFX5qWzGdCimGg+Tuxnv+8u1UMOGA X-Received: by 2002:a17:903:228f:b0:172:657b:b8a8 with SMTP id b15-20020a170903228f00b00172657bb8a8mr17938194plh.29.1660750673214; Wed, 17 Aug 2022 08:37:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660750673; cv=none; d=google.com; s=arc-20160816; b=feT668m5OgRZ5Wd+81rG0eiBw6Ce6fxZ2ACiQjf18D5lkKo0iEpV4bZkpMGL2m+mp1 ug5UDwtC5X6iBgHNe9QF6WjMnAUvKOji6518iMGVb6o2dJ0gvgolrCV01bjr28B+TRM7 OUB0K6FaAfLg70z4jICq5EfmUNXfcV4iAeHReqy/PUxvAAzJ/a00qenqdAErBmhGB8Vv ze/n+7cXYZgQPDKqb2143HADOqQmAkgCrdzUjq9TUsRsZGIo6MN3VWgSYONdG5Icq/4O vHj6ieJbUo0j6gFrWVA8LeJr7JcoBHLXs+6vhXDDhNfovwIyd24pP4572IHe/PrW9uxO v9MA== 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=3aBejiWlmL7KTluGGks2ap2v6Rw6S2N1hayNB2ffhKI=; b=T0YiGf/hUvv0fCXNuStcSDjTPlLlP9g9UkPkISD+BBV9tUq4ceRNV4ic6Cz2TsQQmb Hgcd2lBRgomnHlNrxtd9C05kRs/pfdzb/Q7c7LUKleJ374d2LyRhQHNQo9aI53GRgDiy V4jEwMEIsnsaVdCEH//wGjrwf4VqcK+Lzg208ZYQwrMcW1R0AxRLe5zN2mPAF7PmPJ+A 0WMl+W++pcFZ2lVyG6h+/L1/cS/ok2jgWtG8b3qbB2O2bWDNSv0/3WFhKgNQRAd7UlzR Zr4KNOxwrNI1TSNo1jKECmlxGj+qQd0/pya7odxVKsTH5+eZH9yzgw9/6Eyrgiyn+QGk OeRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dfKSBps9; 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 k4-20020a17090a39c400b001f27725711dsi1934679pjf.58.2022.08.17.08.37.41; Wed, 17 Aug 2022 08:37:53 -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=dfKSBps9; 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 S235568AbiHQPfO (ORCPT + 99 others); Wed, 17 Aug 2022 11:35:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239714AbiHQPfG (ORCPT ); Wed, 17 Aug 2022 11:35:06 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C61DE647C3 for ; Wed, 17 Aug 2022 08:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660750504; 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=3aBejiWlmL7KTluGGks2ap2v6Rw6S2N1hayNB2ffhKI=; b=dfKSBps9EewaVTfup5KrKNDubofXU83xHJx3/AxgYoG1c1EKY0GMtYWfFE82UzQ5vIBjS/ iThJcqJq357fQX4DslOfRFfSMqFxYOmKyVvf4JFglOgJnarBeQ1/+1QZQN8IMxUZ4ikKvn NVP5jJqQM2HAE4INkFaDB/0wg/lScRU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-599-P4u9hwP0OzSmE5K0jvDrUA-1; Wed, 17 Aug 2022 11:35:01 -0400 X-MC-Unique: P4u9hwP0OzSmE5K0jvDrUA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DDCA8802D2C; Wed, 17 Aug 2022 15:35:00 +0000 (UTC) Received: from T590 (ovpn-8-20.pek2.redhat.com [10.72.8.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9C2EC14583C0; Wed, 17 Aug 2022 15:34:54 +0000 (UTC) Date: Wed, 17 Aug 2022 23:34:49 +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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, 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 11:02:25AM -0400, Chris Murphy wrote: > > > On Wed, Aug 17, 2022, at 10:53 AM, Ming Lei wrote: > > On Wed, Aug 17, 2022 at 10:34:38AM -0400, Chris Murphy wrote: > >> > >> > >> On Wed, Aug 17, 2022, at 8:06 AM, Ming Lei wrote: > >> > >> > blk-mq debugfs log is usually helpful for io stall issue, care to post > >> > the blk-mq debugfs log: > >> > > >> > (cd /sys/kernel/debug/block/$disk && find . -type f -exec grep -aH . {} \;) > >> > >> This is only sda > >> https://drive.google.com/file/d/1aAld-kXb3RUiv_ShAvD_AGAFDRS03Lr0/view?usp=sharing > > > > From the log, there isn't any in-flight IO request. > > > > So please confirm that it is collected after the IO stall is triggered. > > Yes, iotop reports no reads or writes at the time of collection. IO pressure 99% for auditd, systemd-journald, rsyslogd, and postgresql, with increasing pressure from all the qemu processes. > > Keep in mind this is a raid10, so maybe it's enough for just one block device IO to stall and the whole thing stops? That's why I included all block devices. > 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? BTW, all request based block devices should be observed in blk-mq debugfs. thanks, Ming