Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2461704pxt; Mon, 9 Aug 2021 00:46:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwH2MPI5VyB7C6UyRoRO+s7K2H4S7eQwJwERddpqqi4hWg2neA6idE3XxHQrnH6qU7OZ7Hc X-Received: by 2002:a17:907:2096:: with SMTP id pv22mr21944325ejb.443.1628495167289; Mon, 09 Aug 2021 00:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628495167; cv=none; d=google.com; s=arc-20160816; b=mFKNxEas2s4x/xbm/2A6mxzv88bj8Hl3JaRlJY8FeEG2wRz8ET/MnHhwy+r2r53ssw OTO/Qw7r5dp7OiB1Z2SkvaS8J59ksPzq9ZZ32wHiVcwbuRKeYe4ieMWN4Nok5GJYQOiK jvDW/FhLpJLBZZJD/7fMWbzRtdAavT98WtSOfhvFoxOByUs6heO5wN50hPtvJr5jUZlP CwQJM0OhMvpOXRP2v/2isnkFghdO12S7XShSikAcOQWaRjZkozaL4WnEbVo8aDU+Qndo IlxtxZ4f64ceDnEXMBCVt+bodNq9xuOBAaGu/wzdCHm8H8ebr/J31Ndfa1lLOZ9TRGUx HJaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:subject:from :references:cc:to:dkim-signature; bh=j/HDCveL7/s6PO3Cojbm2xxwwRkp04B45qsFfM5gedA=; b=j8falsvrbjhhMk46cEJ7r0QMquA9a1lcqLLfN0LR7Lmq+2lJLQfLFyB3Cqo6QoSqT2 RkUdM/eUJMccOQSeXkNkf4cXROMe5QEaD1qbsZpXToNgpKU6368btj3x/PDwGoW1Uuwv Wlea3y0fIGFGE6XWtk5kE3YN+jFz+AjZlqQwtdY0TSj4+3qHXw2Ds0NYRJSrx8mxyv8T tRZWYRk+DCeLLgf//d8pFPpDhRAftOmtxPWFoWJU6HqIPXt9S/U4j2wOtyB5Xrb2zDfD jBaftVi0AcqGVS8l2e4zb0fTNEpn/VAwg0dSJ3wA0rTU2ZVT23CU+lpZj7coaE7XDqwC 3x5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@valdikss.org.ru header.s=msrv header.b="O+8EK/k+"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=valdikss.org.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z21si1758174ejf.461.2021.08.09.00.45.34; Mon, 09 Aug 2021 00:46:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@valdikss.org.ru header.s=msrv header.b="O+8EK/k+"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=valdikss.org.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233467AbhHIHng (ORCPT + 99 others); Mon, 9 Aug 2021 03:43:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233514AbhHIHnf (ORCPT ); Mon, 9 Aug 2021 03:43:35 -0400 X-Greylist: delayed 34202 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 09 Aug 2021 00:43:15 PDT Received: from mail.valdk.tel (mail.valdk.tel [IPv6:2a02:e00:ffe7:c::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27288C061796 for ; Mon, 9 Aug 2021 00:43:14 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D1F3E24D08F; Mon, 9 Aug 2021 10:43:09 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=valdikss.org.ru; s=msrv; t=1628494990; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=j/HDCveL7/s6PO3Cojbm2xxwwRkp04B45qsFfM5gedA=; b=O+8EK/k+ZmGf1oYSlizBNDLceOS+18BXHDN80DW6t+A3TqoNT7ZTnf/423AjYAUWTxnFnB gO6MmJ4vXfjMifqf4lSTqzFXtM+W9ciRbDuq4nMzqnouJomU6SwwVAuKG506GX2pmlHWbg Oo/Al3/aD44Il0IwjTuQ0fBNgM1gSNB9fWZYVzShiDypItVO9nxr0235nMg0P6ZvWH4nuy DkpWLXjgqcBlJG1h/8Ele7+dgb30U3MpB+HezLOuZAp10m6I/CfKZ95p88EhUeaFHFvceV bjfiehm0Ye5gfGrhhh9IkkeP0lQqN/woAtHZCW9AF3T0YZArWXxET3qvYaasKw== To: Theodore Ts'o Cc: linux-ext4@vger.kernel.org References: <015c7506-7f33-3967-772a-1285b0f1052f@valdikss.org.ru> From: ValdikSS Subject: Re: ext4lazyinit reads HDD data on mount since 5.13 Message-ID: Date: Mon, 9 Aug 2021 10:43:08 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.5.0) Gecko/20100101, Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On 09.08.2021 04:51, Theodore Ts'o wrote: > It's a new feature which optimizes block allocations for very large > file systems. The work being done by ext4lazyinit is to read the > block allocation bitmaps so we can cache the buddy bitmaps and how > fragmented (or not) various block groups are, which is used to > optimize the block allocator. Thanks for the info. To revert old behavior, the filesystem should be mounted with -o no_prefetch_block_bitmaps Is it safe to use this option with new optimizations? Should I expect only less optimal filesystem speed and no other issues?