Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5158553rwb; Wed, 17 Aug 2022 12:08:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR7nCMOCqWdnpGV8CqkiC3VeT3SF+kncEFJykP3x4zBeO//+wuBczCWjinPrk4lQXgMi1Z5j X-Received: by 2002:a17:907:7355:b0:730:664f:91f with SMTP id dq21-20020a170907735500b00730664f091fmr17566494ejc.400.1660763291619; Wed, 17 Aug 2022 12:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660763291; cv=none; d=google.com; s=arc-20160816; b=ZIyiljq6CJeQHybUFpVbbDI54XV9KyktysQO9UdvvHnCBkplRJaJLVuFLBA4QfuSAO V2dZPoJJXprmjMpa5KhXAHvS93GgVFJDemDQbOcbo28iRMPZHcfWjnx+FWU99bwM2z8L jDXTKeaE9K+P31MZQFGobUQW04ImKGKfPh8qUDcpSNqJRU8uk5YUICekxiaUg0idXJYM qL6vaEBLnmV2rPEZM1pXgkSNXFn6TOU3yseGCGOQX//TwOOG/1rRVNMqgY/YZleVlFXK cJW3IU8u8LP8YaWGq6DdWJRPKxcmwb9cTbppfMtA8Vz7XdrgOKz52aBcUIrz5/uFFHRe Iu4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:organization:from :references:cc:to:subject; bh=UsbgaZVsKxzaPpvY4DvwtT7oB3toIQ5vV3x+eZpT1Ls=; b=Oq/ygTSIk6u2W2RX2FWHzHcOObsOqfsIZggu+UvZxw0vOfFVKF/7VohYZFTquDVUY2 hGlRy0SQGB8d/D899H0VU7J8pBNMJvVZ7mlWaJoz0gr+SdpMZjTcl6TLe0k2I4p6Kn+q dvUXF1L+hqDZyfUX6dUiA5ub4H7dhKeoBNVynjkCyU2DuvDd54LTQDXHVrIXe9zaRWB8 abrN37viAYDSnlTlv0uey58YHdPIJQCSn9Y2STqDQMMr73cYhvypIW0eSgnzGWRH73GJ QDsSOMMCnwZnz4+qc8Sefm9+tSF8yCFRBzQ8fevTWYtWSZIRiL8jCBFX9lUPSSQ5jEG8 dpxg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=applied-asynchrony.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he9-20020a1709073d8900b0072ef52514f6si14662975ejc.629.2022.08.17.12.07.43; Wed, 17 Aug 2022 12:08:11 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=applied-asynchrony.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238584AbiHQSiV (ORCPT + 99 others); Wed, 17 Aug 2022 14:38:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237097AbiHQSiT (ORCPT ); Wed, 17 Aug 2022 14:38:19 -0400 Received: from mail.itouring.de (mail.itouring.de [IPv6:2a01:4f8:a0:4463::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E5954C603; Wed, 17 Aug 2022 11:38:18 -0700 (PDT) Received: from tux.applied-asynchrony.com (p5ddd78be.dip0.t-ipconnect.de [93.221.120.190]) by mail.itouring.de (Postfix) with ESMTPSA id 9BD74103762; Wed, 17 Aug 2022 20:38:16 +0200 (CEST) Received: from [192.168.100.221] (hho.applied-asynchrony.com [192.168.100.221]) by tux.applied-asynchrony.com (Postfix) with ESMTP id 654FAF01600; Wed, 17 Aug 2022 20:38:16 +0200 (CEST) Subject: Re: stalling IO regression since linux 5.12, through 5.18 To: Chris Murphy , Nikolay Borisov , Jens Axboe , Jan Kara , Paolo Valente Cc: Linux-RAID , linux-block , linux-kernel , Josef Bacik References: <2220d403-e443-4e60-b7c3-d149e402c13e@www.fastmail.com> <61e5ccda-a527-4fea-9850-91095ffa91c4@www.fastmail.com> <4995baed-c561-421d-ba3e-3a75d6a738a3@www.fastmail.com> <2b8a38fa-f15f-45e8-8caa-61c5f8cd52de@www.fastmail.com> <7c830487-95a6-b008-920b-8bc4a318f10a@applied-asynchrony.com> From: =?UTF-8?Q?Holger_Hoffst=c3=a4tte?= Organization: Applied Asynchrony, Inc. Message-ID: <8a75ee2c-0972-6e14-36e1-053122de7a35@applied-asynchrony.com> Date: Wed, 17 Aug 2022 20:38:16 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,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 2022-08-17 20:16, Chris Murphy wrote: > > > On Wed, Aug 17, 2022, at 5:52 AM, Holger Hoffstätte wrote: > >> Chris, just a shot in the dark but can you try the patch from >> >> https://lore.kernel.org/linux-block/20220803121504.212071-1-yukuai1@huaweicloud.com/ >> >> on top of something more recent than 5.12? Ideally 5.19 where it applies >> cleanly. > > > This patch applies cleanly on 5.12.0. I can try newer kernels later, but as the problem so easily reproduces with 5.12 and the problem first appeared there, is why I'm sticking with it. (For sure we prefer to be on 5.19 series.) > > Let me know if I should try it still. I just started running it in 5.19.2 to see if it breaks something; no issues so far but then again I didn't have any problems to begin with and only do peasant I/O load, and no MegaRAID. However if it applies *and builds* on 5.12 I'd just go ahead and see what catches fire. But you need to set the megaraid setting to fail, otherwise we won't be able to see whether this is really a contributing factor, or indeed the other commit that Jan identified. Unfortunately 5.12 is a bit old already and most of the other important fixes to sbitmap.c probably won't apply due to some other blk-mq changes. In any case the plot thickens, so keep going. :) -h