Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4415665rwb; Mon, 21 Nov 2022 07:22:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZOc9El+qPg95USTNJELPBdD/CTohO5XKaog3Kj+W55TMVF18eLLWeCQ9xTq8vhVPEne4j X-Received: by 2002:aa7:cc04:0:b0:463:1a0c:4dd1 with SMTP id q4-20020aa7cc04000000b004631a0c4dd1mr7682572edt.137.1669044170561; Mon, 21 Nov 2022 07:22:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669044170; cv=none; d=google.com; s=arc-20160816; b=lqwncwF6Si05CTn7hCCxjdB7NjQEWYfuYr6caG3e8UGJGWvfFGe04BgyMczdEB03Dd W0MyXWFL7/EXub2aK4RiDQlUw3zvDvf2mAEwKIWWMz+/KPy84HFuXaQ+R5VEL1j+4itC /gzqbwHDfbl6KPMhICWYZF0vyEv3MkuMzfinkglBFGxyNMi3S0u6+4vGJVSNyypDV5/9 HaoyEhy7tdsC14J/PLUNhzLObt4iWvHEUThvrYeMrB4BesN4Ho+rIJgUPdXy6sa3yfCm 7Hgil8e2TXcpza26QzOcklbFZghkj5nY65V/nKIzzXek5wC8h6IZdfzgZq9OzfVxEk5V WRZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=hUaUWT4Ic5XFipF40QR6NuC0E+0IDoz2l10AwuZ5/yg=; b=eNqBq0vnhbgN7zjSEqYol0SOwitRGneemIf2CIxXIQG1ZNv0zKK0668KCyE0onGwFP uozfSbSnh4bARZN7ayQbEpknWYB0+9WDjig1knisRcb6HeeBbWZB+Wv+4SygMP07cIlE OMGmZDIMGib8BEOnxJdbquZ8o87JYB0dUgJI8pbBBSvs+VbRYl7NlyMsG+NOsj6mjwmx Cj7HNTrxQ7rZFivMuJKAf3467SBARW8vBLTx5XjpBdoQM/opICC8mgPYtu5O6R1r/dcI 0k18qUx7bFav8lp9kjoiuN8Bmp9inXjngPzGpifuoVxzpOHX2B2ywGKFwYL8w909KTOP gH7Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a056402279400b00457e6752422si2109524ede.189.2022.11.21.07.22.19; Mon, 21 Nov 2022 07:22:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232152AbiKUPUy (ORCPT + 99 others); Mon, 21 Nov 2022 10:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232141AbiKUPUc (ORCPT ); Mon, 21 Nov 2022 10:20:32 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 457ABA414A for ; Mon, 21 Nov 2022 07:18:14 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ox8Yk-00043Y-8z; Mon, 21 Nov 2022 16:18:10 +0100 Message-ID: Date: Mon, 21 Nov 2022 16:18:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [syzbot] possible deadlock in jbd2_journal_lock_updates Content-Language: en-US, de-DE To: Jan Kara , Jeremi Piotrowski Cc: Thilo Fromm , Ye Bin , jack@suse.com, tytso@mit.edu, linux-ext4@vger.kernel.org, regressions@lists.linux.dev References: <20221024104628.ozxjtdrotysq2haj@quack3> <643d007e-1041-4b3d-ed5e-ae47804f279d@linux.microsoft.com> <20221026101854.k6qgunxexhxthw64@quack3> <20221110125758.GA6919@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20221110152637.g64p4hycnd7bfnnr@quack3> <20221110192701.GA29083@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20221111142424.vwt4khbtfzd5foiy@quack3> <20221111151029.GA27244@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20221111155238.GA32201@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20221121133559.srie6oy47udavj52@quack3> <20221121150018.tq63ot6qja3mfhpw@quack3> From: Thorsten Leemhuis In-Reply-To: <20221121150018.tq63ot6qja3mfhpw@quack3> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1669043895;c619f593; X-HE-SMSGID: 1ox8Yk-00043Y-8z X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 21.11.22 16:00, Jan Kara wrote: > OK, attached patch fixes the deadlock for me. Can you test whether it fixes > the problem for you as well? Thanks! Jan, many thx for taking care of this. There is one small thing to improve, please add the following tags to your patch: Link: https://lore.kernel.org/r/c77bf00f-4618-7149-56f1-b8d1664b9d07@linux.microsoft.com/ Not sure, maybe a reported-by for Syzbot would be good as well, see: https://lore.kernel.org/linux-ext4/000000000000892a3005e5b5d96c@google.com/ To explain: Linus[1] and others considered proper link tags in cases like important, as they allow anyone to look into the backstory weeks or years from now. That why they should be placed here, as outlined by the documentation[2]. I care personally, because these tags make my regression tracking efforts a whole lot easier, as they allow my tracking bot 'regzbot' to automatically connect reports with patches posted or committed to fix tracked regressions. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight. [1] for details, see: https://lore.kernel.org/all/CAHk-=wjMmSZzMJ3Xnskdg4+GGz=5p5p+GSYyFBTh0f-DgvdBWg@mail.gmail.com/ https://lore.kernel.org/all/CAHk-=wgs38ZrfPvy=nOwVkVzjpM3VFU1zobP37Fwd_h9iAD5JQ@mail.gmail.com/ https://lore.kernel.org/all/CAHk-=wjxzafG-=J8oT30s7upn4RhBs6TX-uVFZ5rME+L5_DoJA@mail.gmail.com/ [2] see Documentation/process/submitting-patches.rst (http://docs.kernel.org/process/submitting-patches.html) and Documentation/process/5.Posting.rst (https://docs.kernel.org/process/5.Posting.html)