Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp463588pxp; Sat, 5 Mar 2022 08:26:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhh8NJs/2kQ6cQ2qKFrciIkAgFxN+kAxekcDj+J2vI4zG6soCWRAIR3kZMstzHO6eT4ZJE X-Received: by 2002:a17:906:181a:b0:6d0:ebf5:c064 with SMTP id v26-20020a170906181a00b006d0ebf5c064mr3217990eje.82.1646497606159; Sat, 05 Mar 2022 08:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646497606; cv=none; d=google.com; s=arc-20160816; b=QCsVvodjv+AWQfqR9xmk5371+/qr5oedZMNTASkd43GiKqr0P4N6JD9y+kv3EyL5R8 iNbjuhZCKxWliGED1oMh/vmeTeiLFtIkDy877VipHDev/ehfU41KF7B1ALp5WPbQRcPa PuOK+GUKQPPIy6Mqt3JKZVpklWDV+7W6U1y3e7gw5CnAWAtf6FVxxbvIu7RtPGIMH50j CKFoFbdS0x0tjDuDcQTZ6Ys+wI1iIIF2vTqT4RoN47d+VdLywv2ZZhM13ioJone+UkAg vpd7AOdESIqpzxNlQ8S+9z+/1SwhqD/O1zGCRNXe4+Al+qXAR3iWr++1jz743lbujXLn 5i4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=rhzL3v5HpiCYaP7melFXAiqufrlQLAYsf+O9YOyxryI=; b=ZY6etMBLhnh7bBPUYePbddMPLNyDTN79DgRPfxIIkLQrpO/Dy+5yLLwDtTsfecMRbN ANCaNfnGIrKdOXN0f3zdUcdk7WkVlevILDC81jC3450CTu1kJpkTjdsJmkI04LUpV1ok kS5VzyGYWcSWmHOtexojVAgPvtttPivzYakykPapkdG2rvSTlY8wjuJCzUZw9HTniKqi 6FiWShUczkOet37zMSNdqkrMZDo66kpLrIjhwiO09kIL7xG8z6dwgGiJwaFFD1belBVq 9y17sAz2hvAOI4ZMM0tqEQLpoZd3x09RUGcwhMRqBh51to9ORCN5g6xdk7TRBSf8gm6j JpBQ== 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 q14-20020a056402518e00b00415c2a00fd2si5609057edd.44.2022.03.05.08.26.21; Sat, 05 Mar 2022 08:26:46 -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 S231927AbiCEO4x (ORCPT + 99 others); Sat, 5 Mar 2022 09:56:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231920AbiCEO4w (ORCPT ); Sat, 5 Mar 2022 09:56:52 -0500 Received: from lgeamrelo11.lge.com (lgeamrelo11.lge.com [156.147.23.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E90F396A9 for ; Sat, 5 Mar 2022 06:56:00 -0800 (PST) Received: from unknown (HELO lgeamrelo01.lge.com) (156.147.1.125) by 156.147.23.51 with ESMTP; 5 Mar 2022 23:55:58 +0900 X-Original-SENDERIP: 156.147.1.125 X-Original-MAILFROM: byungchul.park@lge.com Received: from unknown (HELO X58A-UD3R) (10.177.244.38) by 156.147.1.125 with ESMTP; 5 Mar 2022 23:55:58 +0900 X-Original-SENDERIP: 10.177.244.38 X-Original-MAILFROM: byungchul.park@lge.com Date: Sat, 5 Mar 2022 23:55:34 +0900 From: Byungchul Park To: Theodore Ts'o Cc: damien.lemoal@opensource.wdc.com, linux-ide@vger.kernel.org, adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, torvalds@linux-foundation.org, mingo@redhat.com, linux-kernel@vger.kernel.org, peterz@infradead.org, will@kernel.org, tglx@linutronix.de, rostedt@goodmis.org, joel@joelfernandes.org, sashal@kernel.org, daniel.vetter@ffwll.ch, chris@chris-wilson.co.uk, duyuyang@gmail.com, johannes.berg@intel.com, tj@kernel.org, willy@infradead.org, david@fromorbit.com, amir73il@gmail.com, bfields@fieldses.org, gregkh@linuxfoundation.org, kernel-team@lge.com, linux-mm@kvack.org, akpm@linux-foundation.org, mhocko@kernel.org, minchan@kernel.org, hannes@cmpxchg.org, vdavydov.dev@gmail.com, sj@kernel.org, jglisse@redhat.com, dennis@kernel.org, cl@linux.com, penberg@kernel.org, rientjes@google.com, vbabka@suse.cz, ngupta@vflare.org, linux-block@vger.kernel.org, paolo.valente@linaro.org, josef@toxicpanda.com, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, jack@suse.cz, jack@suse.com, jlayton@kernel.org, dan.j.williams@intel.com, hch@infradead.org, djwong@kernel.org, dri-devel@lists.freedesktop.org, airlied@linux.ie, rodrigosiqueiramelo@gmail.com, melissa.srw@gmail.com, hamohammed.sa@gmail.com Subject: Re: Report 2 in ext4 and journal based on v5.17-rc1 Message-ID: <20220305145534.GB31268@X58A-UD3R> References: <1646285013-3934-1-git-send-email-byungchul.park@lge.com> <20220304032002.GD6112@X58A-UD3R> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fri, Mar 04, 2022 at 10:40:35PM -0500, Theodore Ts'o wrote: > On Fri, Mar 04, 2022 at 12:20:02PM +0900, Byungchul Park wrote: > > > > I found a point that the two wait channels don't lead a deadlock in > > some cases thanks to Jan Kara. I will fix it so that Dept won't > > complain it. > > I sent my last (admittedly cranky) message before you sent this. I'm > glad you finally understood Jan's explanation. I was trying to tell Not finally. I've understood him whenever he tried to tell me something. > you the same thing, but apparently I failed to communicate in a I don't think so. Your point and Jan's point are different. All he has said make sense. But yours does not. > sufficiently clear manner. In any case, what Jan described is a > fundamental part of how wait queues work, and I'm kind of amazed that > you were able to implement DEPT without understanding it. (But maybe Of course, it was possible because all that Dept has to know for basic work is wait and event. The subtle things like what Jan told me help Dept be better. > that is why some of the DEPT reports were completely incomprehensible It's because you are blinded to blame at it without understanding how Dept works at all. I will fix those that must be fixed. Don't worry. > to me; I couldn't interpret why in the world DEPT was saying there was > a problem.) I can tell you if you really want to understand why. But I can't if you are like this. > In any case, the thing I would ask is a little humility. We regularly > use lockdep, and we run a huge number of stress tests, throughout each > development cycle. Sure. > So if DEPT is issuing lots of reports about apparently circular > dependencies, please try to be open to the thought that the fault is No one was convinced that Dept doesn't have a fault. I think your worries are too much. > in DEPT, and don't try to argue with maintainers that their code MUST > be buggy --- but since you don't understand our code, and DEPT must be No one argued that their code must be buggy, either. So I don't think you have to worry about what's never happened. > theoretically perfect, that it is up to the Maintainers to prove to > you that their code is correct. > > I am going to gently suggest that it is at least as likely, if not > more likely, that the failure is in DEPT or your understanding of what No doubt. I already think so. But it doesn't mean that I have to keep quiet without discussing to imporve Dept. I will keep improving Dept in a reasonable way. > how kernel wait channels and locking works. After all, why would it > be that we haven't found these problems via our other QA practices? Let's talk more once you understand how Dept works at least 10%. Or I think we cannot talk in a productive way.