Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4920262rwb; Wed, 17 Aug 2022 08:07:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR7SkxQQ4WvryKB6EguHBzMFYbEiTf/k4QgfRVzCULvwJRSw+8J1LxRQF1+2FzlsL/J8mC17 X-Received: by 2002:a05:6402:501d:b0:443:1c7:ccb9 with SMTP id p29-20020a056402501d00b0044301c7ccb9mr23558953eda.101.1660748864291; Wed, 17 Aug 2022 08:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660748864; cv=none; d=google.com; s=arc-20160816; b=oILQChNPvK3fV3tk9h5Y4TjxLP1VNS0aDi13qgK7rxwPNCGm7PawIBdBHfdJREb+Q+ B0OMhYF3ePF8fCpcQhowUUqvds4scIt+UmkdWu9rKgaNfIqCWkXHqu4oE/F6FJLfChMu n6cnwLmmWnDft64QbB+wRvLYr8Hy9WTYTdwrqESWENK5jr6QpgIhPmeRVtR0AuX2fdqq GRAZGHik16LFKZIXoPjhSg4n7oQVQx7NPjSCa/sehYPNaQnwqJOjaEDMy7fut9hwbVWr 7Z2+gdxpkgn0RVunOsDZAaKeLorg0KxBwsLPmqlKZsK6+RXlyoQarVNwnN4gGDZ8vvwK xU4w== 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=XuAuMZJGsQZ1NsfHlxjT4d04G2KbCrSJAFw2yyq2vRA=; b=FTLLAi/h/QBo8WfD4PgifsQuXGPvD3pyho84NZrgTKSnwG1pnSuXAHq2NnDWB6XMjq ASvfMLmWzq/IsoFDPcDemR/cSc9trBUfooHjZvRQU1fOAbQRZ0hGbw/BsXNP/oJJU3mt hD722C7JOz0VFOdymrVeg8B4T9n4c7yQSiyvww2TRL9CeBR/80LSPy6t1E13SFkT1gkv +xtVxd5+CumSU6nJp9g8p1cE1RWZCy30jF5my8AUaQDSBk/M86kPUfQ6qJYc31U77gds Qf1NBVm2ufHfrqc7N73/mPTEyKJz0qD+kqGCyqF8LobhULcv4YjaljKEI55VVArI5PIk yrlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@colorremedies.com header.s=fm1 header.b=PFbRKcnX; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="k8N276/F"; 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 q12-20020a170906a08c00b0072b69150d28si11441067ejy.486.2022.08.17.08.06.52; Wed, 17 Aug 2022 08:07:44 -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=PFbRKcnX; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="k8N276/F"; 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 S240759AbiHQPEN (ORCPT + 99 others); Wed, 17 Aug 2022 11:04:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240749AbiHQPDz (ORCPT ); Wed, 17 Aug 2022 11:03:55 -0400 Received: from new3-smtp.messagingengine.com (new3-smtp.messagingengine.com [66.111.4.229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F4D89DFB0; Wed, 17 Aug 2022 08:02:59 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 87523580A19; Wed, 17 Aug 2022 11:02:47 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute3.internal (MEProxy); Wed, 17 Aug 2022 11:02:47 -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=1660748567; x= 1660752167; bh=XuAuMZJGsQZ1NsfHlxjT4d04G2KbCrSJAFw2yyq2vRA=; b=P FbRKcnX1q4OWjL9ew45cds15G9s+rSwCTdBjWgzxK6Whq4At+oqyf4l0S6wyXNHp Tx83jSgmSLEOEzHNxtmfUThxjONB5em/fHBxq9OoGOfdeb9oDKlIAXG+6jbSudN3 p0qN/vJXkUdA4PFjqCMMvaVwh3stYV/f3sMjc3LKstq61I81oatyAeYMSMSk8CJs FQFuPGHo9NXBmtBgyfM1LQ5KNcbiHgZ74LnRbBAfzS5ENsaF0IwQl/ZKZ43g70Q9 dycwLYQYZnJvQqlGe/huns80Ly6QUocduKcdwQ2gO1XL1GfswVvW73hbnIvQJ2zF fddl73oUU9ZUoxguwB8eQ== 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=1660748567; x=1660752167; bh=XuAuMZJGsQZ1NsfHlxjT4d04G2Kb CrSJAFw2yyq2vRA=; b=k8N276/Fcz7+YiYL7vg1qm6LiskF7S7WB8GJxuw93uQ4 t3Nq43ONuP/RXSwp42dHj1Rg5dQ2KOUCSoZ5xKKFdOGORYw4BErCe8i9T2j9+Xai wXbm/X8QfGyJ7OE8Q12q/hnZCbBnYw3jRnfue/c7hUY5hppnEf5DpKJ+e54A91Yw TTw1ICfwu5eh0RJ/lYci9JcrIi5C2VOk0iFzjB9xgWr88GbZecnU9Qshpt00YcCl JYNrqfpw+f9HVN1SZVkVHN2lvULgzpg60zYBIs6z9VABgD9pwIt4C39Ml+7T2+IZ SeiC/i/sN0GhAjW2EC+lp3Xh9q1RHWtRF1BmD8kujg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehiedgkeefucetufdoteggodetrfdotf 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 C90A51700082; Wed, 17 Aug 2022 11:02:46 -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: 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> Date: Wed, 17 Aug 2022 11:02:25 -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 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. > If yes, the issue may not be related with BFQ, and should be related > with blk-cgroup code. Problem happens with cgroup.disable=io, does this setting affect blk-cgroup? -- Chris Murphy