Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp534016rdb; Thu, 19 Oct 2023 11:10:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8bOePfPitXeCLzm1C5hPtN/q/i1LMsHhcD3NuYTI+JS6W/gbd5BZaqcwmrXZbrlU0sJAK X-Received: by 2002:a17:903:2305:b0:1c0:ecbb:182f with SMTP id d5-20020a170903230500b001c0ecbb182fmr3473763plh.5.1697739039281; Thu, 19 Oct 2023 11:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697739039; cv=none; d=google.com; s=arc-20160816; b=LtSInj3d3f8obNXy4t6ReaZ79ESYvVnqAYrQyAkN3nWJChay2DCK+qvgtSzYUOqr2t 6VbLTATMsJm7CLzOaRiHprtVZkt9pwatngcWPs6C8lz58JIuJUcfdeMlfIhU5dKn0W9W DxZ2IG5tB8bPicEcEMy1sC3FnMCNPUNrFIDfBZC+vmJp88ak816170YMbtn+Q89raVu8 NSc6Mp7+Upvq4KPpipCNRircVH96B92Idstu7N+L8GgcTZ5DAZCpQxWlRx+6u7uABdQg yDk33HfHy10Dl/l/uWmk8x8tspDfrji/skcQfUPttOaTTKoxTtdwhz2YASWRyH1B7lAw 1jXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8Ls5TNAYEJSwo+oBjsUe/LdsGRHmsxu+1nCVHhU9S7c=; fh=gFhtwjMG6X0upd0zEHV+jun4zh3IKjDzJ4+IC6mNHQo=; b=PLrOe8O5dnUTjPqJEDsWJJ/Ep+SijrnNsNLfyeHdZm87KYQ1ft9Mdy01CasAZgMiTY iCT4o6kS9DBDSs3joG7zXEbwtsSgUoLc0FV0EfjZAfBV+pIcB0irr3++8aUuYzAp0jdJ U6U41Yaa8DQ771a6ZpUDEJMyMBP70Qh6D4Sv20KQYmF1+lwmlg68PAXxPJkxbUPEMy7K FczTP+TqTORgYj1UB9W7fwt+iQw39qid68QG11AtfLg8K8dBMg3ADeMq93H63D6jSjUz 7+ToJkVUp5tOQhAkqmH+hIleNsw4vzEx/wycznFlE/71j0bZgQEc+VUkOKH+sbeUG4aD DWJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PKxqSG/P"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c7-20020a170902b68700b001c6223663b2si18417pls.339.2023.10.19.11.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 11:10:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PKxqSG/P"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 258D68360A0B; Thu, 19 Oct 2023 11:10:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235503AbjJSSKe (ORCPT + 99 others); Thu, 19 Oct 2023 14:10:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235475AbjJSSKe (ORCPT ); Thu, 19 Oct 2023 14:10:34 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E6811D; Thu, 19 Oct 2023 11:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697739032; x=1729275032; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=WLkdmAbBAGfuTVcTLJRtWZbWSZmkdlhB5Mb62pp+XO0=; b=PKxqSG/PhqUeQNY8EavDt8ORJSROc3+7cfNSafex3IiFvVUGrS792aMq VTw1l0KH+q+EEu+F/NVLnx1TWikd5Gta0It9tPQoYyAgElKeyEYYeb29A RNd2mx2QJp7NXpK1yJBtV1TJrrFTdcuxvJvc7qyUv/hJEUba8IjYfW8d4 3dFx2oK2L243WZuYxEuVClN9ufh+b3PsW4eilItSeoDs28KYNISpYVHN3 +ThA6fOfnLqQRYnlcLB73+U9QtrLEJ0E7opOoFyMVL+7rhE+BlJsaDCNI eFdoinljs7ZWtn0EYFpSW+7iX5/k+Z5NvqJ3I/eL7uYdm0b7h1WXR9ct4 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="371396929" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="371396929" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 11:10:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="1004321882" X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="1004321882" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 11:10:29 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC2) (envelope-from ) id 1qtXTW-00000006x5Y-0xfe; Thu, 19 Oct 2023 21:10:26 +0300 Date: Thu, 19 Oct 2023 21:10:25 +0300 From: Andy Shevchenko To: Linus Torvalds Cc: 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: 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: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Thu, 19 Oct 2023 11:10:35 -0700 (PDT) On Thu, Oct 19, 2023 at 10:51:18AM -0700, 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(). In my configuration CONFIG_QUOTA=y CONFIG_QUOTA_NETLINK_INTERFACE=y # CONFIG_QUOTA_DEBUG is not set CONFIG_QUOTA_TREE=y # CONFIG_QFMT_V1 is not set CONFIG_QFMT_V2=y CONFIG_QUOTACTL=y > 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. Exactly! Imre suggested to test the merge point itself, so far I tested the result of the merge in the upstream, but not the branch/tag that has been merged. Let's see if I have time this week for that. This hunting is a bit exhaustive. -- With Best Regards, Andy Shevchenko