Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp938076rdb; Fri, 20 Oct 2023 04:07:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFI51rW1le/zanXGtOLfQl4PYa7lcUbI14FJ2dBhpmiGdG9ytuwcr6OC+YapuAXP+8R+Iq9 X-Received: by 2002:a17:90b:2b8e:b0:27d:247b:2c3c with SMTP id rs14-20020a17090b2b8e00b0027d247b2c3cmr1586890pjb.23.1697800077840; Fri, 20 Oct 2023 04:07:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697800077; cv=none; d=google.com; s=arc-20160816; b=aH+XjoFGPBK2fAIJLuoc08jqwDTWuM+BmAuEG7RwMuwBoU6ent37tlmpZWRpcNnqGG 32DFXjs9C9Jn353S+9LVna5/gkrZC6UqV3ei0qDbiRCajirmGSEJpwUdlJZFdD8IIeuV fxnVwynegpcBK0e+Hb4b3Q2DJcoW3VjVIVKZgNAovrPk8cn+dlvDvcCSt3VG9sTa3Yhy yIVS/tTb9BrAMIOe+NhJ+pXp9lTzIhg8PyLkfO45eWNduoaMVZ7YBtCYOFOmY7eVabgV kRVMzLZ0kTu8bWU9uRnOMokSalyGx8/HOEKIQFg3nN85HEky8uuO/pvPe7AsdwF2L4Id sjSw== 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 :dkim-signature; bh=hqkENciefP1goVr5brNJmEfCB2IMUZkNv2PO6yd0b5o=; fh=59HAoNDFIIsHLdeFFBnUV+HOkL3juX0IufUgCF7FGAI=; b=pLiyJ5tBhw0PAcfdHqErSpFHNAhiiQihmvBE0h9pCNL8QrANj1HBw8sYlLfZQNlSOh WcpErlT2BK+UlIKbYMUyqm000udqSfp2N5tIEI62LlZsidu8L1mFIdKM7PuKpMjJGhsd q20CQQH6/G9K2WIkY4/Cexhx3EAB7+NOwjlk0woRMf2X3v2zBGT1SbFZ40waBLpeCzxS aWI4xNmCUXubk5IHFJkql/vm/1zFUjh8IF1TIyh6KtOKAWxIFboXtsj5SirZSBTbQRRG Ap7+6M/4IozzkF/Di+lcWCqYSeYKf/75dLgXzIeWdy77xGFjV7rYWD8j69giBulUp/6P yIeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="AV/kHOCE"; dkim=neutral (no key) header.i=@suse.cz header.b=ELRj3Nvh; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id qe5-20020a17090b4f8500b0027d32c5bd43si1744515pjb.164.2023.10.20.04.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 04:07:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b="AV/kHOCE"; dkim=neutral (no key) header.i=@suse.cz header.b=ELRj3Nvh; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B8CB780779B6; Fri, 20 Oct 2023 04:07:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376860AbjJTLHp (ORCPT + 99 others); Fri, 20 Oct 2023 07:07:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376745AbjJTLHo (ORCPT ); Fri, 20 Oct 2023 07:07:44 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93F0DCA; Fri, 20 Oct 2023 04:07:41 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C297A1F45B; Fri, 20 Oct 2023 11:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1697800059; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hqkENciefP1goVr5brNJmEfCB2IMUZkNv2PO6yd0b5o=; b=AV/kHOCETVbtL/H+fR/4ic7BkdoBS0HDJwc505gz9HwTk9oli+MavpIeonz3dmPPDhwHFv JVNT4yw17XoTsKT0RtFxLwzDusiK5b/g01rHty0TZeYx0vD1vkS4CU27ksX8m6InutKa3Q m9LvvV2h432EHzuzkuqxUfk5ZUaDd5g= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1697800059; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hqkENciefP1goVr5brNJmEfCB2IMUZkNv2PO6yd0b5o=; b=ELRj3NvhoAE9XM0Xs11gNKDNnv1Gjl2oL9fCxEZiB8MNqQcbqOlcnUfUVGVQmVZqOFwCbA GTjfKtvZmhmWh5AA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B0823138E2; Fri, 20 Oct 2023 11:07:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id ad/7KntfMmUZZQAAMHmgww (envelope-from ); Fri, 20 Oct 2023 11:07:39 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 231BDA06E3; Fri, 20 Oct 2023 13:07:39 +0200 (CEST) Date: Fri, 20 Oct 2023 13:07:39 +0200 From: Jan Kara To: Linus Torvalds Cc: Andy Shevchenko , Josh Poimboeuf , Jan Kara , Nathan Chancellor , Nick Desaulniers , Kees Cook , Ferry Toth , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [GIT PULL] ext2, quota, and udf fixes for 6.6-rc1 Message-ID: <20231020110739.qfscu56ekan4wqd2@quack3> References: <20231018184613.tphd3grenbxwgy2v@quack3> <20231019101854.yb5gurasxgbdtui5@quack3> <20231019164240.lhg5jotsh6vfuy67@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: -4.64 X-Spamd-Result: default: False [-4.64 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-3.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_SEVEN(0.00)[10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-1.04)[87.57%] X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 20 Oct 2023 04:07:56 -0700 (PDT) On Thu 19-10-23 10:51:18, Linus Torvalds wrote: > On Thu, 19 Oct 2023 at 10:26, Linus Torvalds > wrote: > > > > That said, the quota dependency is quite odd, since normally I > > wouldn't expect the quota code to really even trigger much during > > boot. When it triggers that consistently, and that early during boot, > > I would expect others to have reported more of this. > > > > Strange. > > Hmm. I do think the quota list handling has some odd things going on. > And it did change with the whole ->dq_free thing. > > Some of it is just bad: > > #ifdef CONFIG_QUOTA_DEBUG > /* sanity check */ > BUG_ON(!list_empty(&dquot->dq_free)); > #endif > > is done under a spinlock, and if it ever triggers, the machine is > dead. Dammit, I *hate* how people use BUG_ON() for assertions. It's a > disgrace. That should be a WARN_ON_ONCE(). I agree. I should go one day and replace these BUG_ONs. This one is from 2006 when we were more accepting of such checks... > And it does have quite a bit of list-related changes, with the whole > series from Baokun Li changing how the ->dq_free list works. > > The fact that it consistently bisects to the merge is still odd. Yes. Plus Andy said that when he reverts quota changes on top of the merge commit the resulting kernel still crashes. Really puzzling. Honza -- Jan Kara SUSE Labs, CR