Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1542006rwb; Tue, 27 Sep 2022 14:55:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6IM+0HcsWAoIAyHPQtGVb8r6YmEOpxe4IVNh49cnwe/+5XR9r1lgg2SVFXEPm2VvmeKV8M X-Received: by 2002:a17:90b:1c8e:b0:205:783b:fe32 with SMTP id oo14-20020a17090b1c8e00b00205783bfe32mr6860853pjb.39.1664315699762; Tue, 27 Sep 2022 14:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664315699; cv=none; d=google.com; s=arc-20160816; b=BcnJglWqjzUP2wwFmfR1Su5qeZjE/MMgEIrm1kKK1O6xEeZZio35vHdBQfmgQ1LwEL g+sMFkL8SP+dNLXULJsegWSYzLVOfxedBzplcR2E2RhL5IB1pZiJu9L65vnrIGMzBKLG MGuUuo/eYiKrrhCXtAuvsq6fdXJ2Bi/hPLyaFRGBjmFIyV6xteZU1YetREcRMlLdm284 mOSUr1rt8P8OM291PP/ikHqfSLcTIl4mG/y2whER/+k1mlesRJXTXMagOEpHZ9dmnjS0 KCH8WL0g77BamJJJUm33poFNBSzqdIYQxyp0Cw8BHSsvkeGGQ0cWjH8UdwpCWvzaQZ/f biNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ad0Co2gwoETAaQ3iv6PJGA2jCBbTSP7zL889h15igoE=; b=ZpuQ4wNqEz0DcxzwnP/qbj7EXpFRX1N2Hlx8va5Eksoff8gc8EusQqePYRUQuLg+hk NvZzeIZgEISKEbcobFmaQbJmxauTf2YkiO6UWZe7xt7s5F+OZUMUIEb7YMP+la9mj2M8 EEmMnnXq37Jnx+nAB/VGMOXL7QI6AoiJRgEtSjc2wIE9KOI4nwbNDkwEKwWPxB7a26mf 5NIvr5mEpAVkA1CPIExd1vqeu8nDAmey8HJm6x2pR4fHC8xmcH9wsNnOVHTgLebDGfsZ xp3S2+iDfgNyYX5CmnSs+ox+2dtMk9asSXINxK6uzTzyNY5slsDfQmr3PAgUVi/XiB6w XJEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=FOmxrPo5; 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 b124-20020a636782000000b0043a6caebacesi2824863pgc.52.2022.09.27.14.54.45; Tue, 27 Sep 2022 14:54:59 -0700 (PDT) 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=FOmxrPo5; 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 S231899AbiI0Vxq (ORCPT + 99 others); Tue, 27 Sep 2022 17:53:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231761AbiI0Vxp (ORCPT ); Tue, 27 Sep 2022 17:53:45 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B3031075B5; Tue, 27 Sep 2022 14:53:44 -0700 (PDT) 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 28RLrbNe032600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 17:53:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1664315619; bh=ad0Co2gwoETAaQ3iv6PJGA2jCBbTSP7zL889h15igoE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=FOmxrPo5BPxRjeBGGb5xkqf1Sont2q0Xc1rqMjLR1KEJKb9Gu163T70et7Hl/3WHf z5ttIXJ32+QmkmhlQIPoNdpqYnOG3hdtYjfB0XQxBkMwqRAX7fnIZBeGPQr7kiaKH5 raID9JcxZfNN97pFY4wxLmUcqXWhUppuW7xrwhDbgJoYsr7FdAqmfM01FPD8eSJa2p HgQsVHqhP//TQxrieUPh2KuE9eC0UcfTkjMWeCGWGeZByXnNQBUsTlWDTrUd8lpYgB kaY1ldcLrjO5vk1m+zPJKWL4jvk1yRlDksRlJJKmiPzKpZVR7RW/cdNIeaqjbJT/gK dV/GT/6iiTo+g== Received: by cwcc.thunk.org (Postfix, from userid 15806) id A33E915C528C; Tue, 27 Sep 2022 17:53:37 -0400 (EDT) From: "Theodore Ts'o" To: adilger.kernel@dilger.ca, josh@joshtriplett.org Cc: "Theodore Ts'o" , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ext4: Don't run ext4lazyinit for read-only filesystems Date: Tue, 27 Sep 2022 17:53:34 -0400 Message-Id: <166431556706.3511882.3840047540179825060.b4-ty@mit.edu> X-Mailer: git-send-email 2.31.0 In-Reply-To: <48b41da1498fcac3287e2e06b660680646c1c050.1659323972.git.josh@joshtriplett.org> References: <48b41da1498fcac3287e2e06b660680646c1c050.1659323972.git.josh@joshtriplett.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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 Sun, 31 Jul 2022 20:24:53 -0700, Josh Triplett wrote: > On a read-only filesystem, we won't invoke the block allocator, so we > don't need to prefetch the block bitmaps. > > This avoids starting and running the ext4lazyinit thread at all on a > system with no read-write ext4 filesystems (for instance, a container VM > with read-only filesystems underneath an overlayfs). > > [...] Applied, thanks! [1/1] ext4: Don't run ext4lazyinit for read-only filesystems commit: 3490a40364962a2599bc5a8126003a47150b84d3 Best regards, -- Theodore Ts'o