Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp488534rwb; Wed, 7 Dec 2022 21:59:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ud0FlCgS9+Kl96z/oSNORVXvzmxuM2uDuON8V5m2b8N81e+s2z3isHrIJ2iy/PpdgJHUV X-Received: by 2002:a17:90a:9b0b:b0:219:28b7:c580 with SMTP id f11-20020a17090a9b0b00b0021928b7c580mr1600941pjp.22.1670479158433; Wed, 07 Dec 2022 21:59:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670479158; cv=none; d=google.com; s=arc-20160816; b=EtuFzttzl+F72HMSVWfy/GSuDkXuc13Ch7Qf6+BB/3yBLuebbcT5NubhQyfhyqLSP4 CwXeu+3aDv5M/Jf65exIHkUW6ctsrw8Gu0eYYxd5+FRS4oNRu3UgaITGm9jW8ZYNGVYe GKTflDnnypjpMjpwUlmLJVj8ONVwuv8qoyXuNUYiJznoeSi4HUb4MO5f8QlUxvshbfoB J0K3+VPAzR2vNUDZLqp1wrVeUCzyR8WVILEuldxCs+V7GSJtY2UIqPxVNnPQNncXZBX6 8bYi7xooGrcstZNLJhXv46XObnkcjqtIsHrzjSa5ZQDJ2MCqugaKyYAdB+nBU5Y3mIJw 2L1A== 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=+3dywkpkrOoRJwylUGWYlpKX7eTBtD29D+MvYyMmYlk=; b=UfF7AEwiSbr92cn86edTvPDK0ywoYs8wJL1ibvhkMA/1+Mr98xVsmD+besvx648uN2 PVI1p3ASHlfto6xb3xT8nY6m2YuYJG/+njeZtDue9K+SQsiOo4uGjBMGxBtoaMWztNdY aoV34+FXWfQ3khsGJIYxj/jrT1ffFkrXEEkpwFQDXoKMKl7Rk5qNVvR1CK21I729Z4bC p7CeSWkCSkbaRo+vGKA9o+WeujjZ+uB0zxS3b6EOqK6u/urbsmbpgyNSDwJo/mUwovkB ZHMh/+zjGr4+a6w+ArYxhF1U+faGbyPZRk992Vh7SH0yXwEewBputTEU9aQwsDfXcCOn 82vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b="oop/hXe1"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj14-20020a17090b4d8e00b0021924a18b39si3660235pjb.96.2022.12.07.21.58.48; Wed, 07 Dec 2022 21:59:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-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=fail header.i=@mit.edu header.s=outgoing header.b="oop/hXe1"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229572AbiLHF4M (ORCPT + 99 others); Thu, 8 Dec 2022 00:56:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiLHF4M (ORCPT ); Thu, 8 Dec 2022 00:56:12 -0500 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D8D999537 for ; Wed, 7 Dec 2022 21:56:11 -0800 (PST) Received: from cwcc.thunk.org (pool-173-48-120-46.bstnma.fios.verizon.net [173.48.120.46]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 2B85ttmH006911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 8 Dec 2022 00:55:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1670478958; bh=+3dywkpkrOoRJwylUGWYlpKX7eTBtD29D+MvYyMmYlk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=oop/hXe1d/4vTfrwLTpJndCAjT1vK5Zx8+SU6l4ZYbN8dpMCxeTV+Ze2ijbNlsn8L 1wvCvZ53mhgxe3ynaLLEOnGXpIsEaxw+8AQGFnyf00vz5xho6Y7ImrWY6XFjD1cRt4 aCTGB0oUIzbDUu0mEVkdmsCEpihCP872I2eO5P9w3N88tXe0anO6+PdD90WjGoYi1N sEtqwEFjxCifgHY5WNGtQFKsG2eDkEUkDwLDXxVRVX5BUkb1iuM7KgfBkQSuk9d7rJ 3+Hz7vNv/ny40Rx32qTLfOsi1T5RAdoodG+CZg5b6tI9P0f9dHqWMp6i/bnlN1QStK gJhJ6faSVjqAA== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 6927915C39E4; Thu, 8 Dec 2022 00:55:55 -0500 (EST) Date: Thu, 8 Dec 2022 00:55:55 -0500 From: "Theodore Ts'o" To: Thorsten Leemhuis Cc: Andreas Dilger , Jan Kara , linux-ext4@vger.kernel.org, stable@vger.kernel.org, Thilo Fromm , Jeremi Piotrowski , Andreas Gruenbacher Subject: Re: [PATCH] ext4: Fix deadlock due to mbcache entry corruption Message-ID: References: <20221123193950.16758-1-jack@suse.cz> <20221201151021.GA18380@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <9c414060-989d-55bb-9a7b-0f33bf103c4f@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9c414060-989d-55bb-9a7b-0f33bf103c4f@leemhuis.info> X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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-ext4@vger.kernel.org On Mon, Dec 05, 2022 at 04:41:49PM +0100, Thorsten Leemhuis wrote: > > Jan's patch to fix the regression is now our 12 days out and afaics > didn't make any progress (or did I miss something?). Is there are reason > why or did it simply fall through the cracks? Just asking, because it > would be good to finally get this resolved. > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) This patch showed up right before the Thanksgiving holiday, and (b) it just missed Q/A cutoff for the the ext4 bugfix pull request which I sent to Linus right before I went on my Thanksgiving break. Since Thanksgiving, I've been busy with the realities of corporate life --- end of year performance evaluations, preparing for 2023 roadmap reviews with management, etc. So the next pull request I was planning to send to Linus is when the merge window opens, and I'm currently processing patches and running Q/A to be ready for the opening of that merge window. One thing which is completely unclear to me is how this relates to the claimed regression. I understand that Jeremi and Thilo have asserted that the hang goes away if a backport commit 51ae846cff5 ("ext4: fix warning in ext4_iomap_begin as race between bmap and write") is not in their 5.15 product tree. However, the stack traces point to a problem in the extended attribute code, which has nothing to do with ext4_bmap(), and commit 51ae846cff5 only changes the ext4's bmap function --- which these days gets used for the FIBMAP ioctl and very little else. Furthermore, the fix which Jan provided, and which apparently fixes the user's problem, (a) doesn't touch the ext4_bmap function, and (b) has a fixes tag for the patch: Fixes: 6048c64b2609 ("mbcache: add reusable flag to cache entries") ... which is a commit which dates back to 2016, and the v4.6 kernel. ?!? So at this point, I have no idea whether or not this is a regression or not, but we'll get the fix to Linus soon. Cheers, - Ted