Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2218228pxt; Sun, 8 Aug 2021 16:00:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlTGJpveiHunpQojnHtKSq6Bt3/zdtE4Qs8dJQLqpmeFKD2uAWTCj+u7e3cD0M68GWp7ed X-Received: by 2002:aa7:cb0f:: with SMTP id s15mr15606848edt.190.1628463653338; Sun, 08 Aug 2021 16:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628463653; cv=none; d=google.com; s=arc-20160816; b=lLS7j9OyDfkggeUVES9OKtUCyUIZjV+WzT+GxnOTtz/G0q50rde9yGjJAxTeZFHYG4 0qYG9/G63Dlem2hkrdLfwnHMiduRwLLlXvQnUBlBe2L1LhjSUC0adl7kwH3DKOdtmKPv E4xJ61M3CkBWcnM8qux1KLHOzxbyoRZuJO3DXSgpopQ+myAFBqvGRm3O6tWj/nqvNkD6 AtKxYaYfHxPHk1xwpF4/0H1INFTSlRFxBcSrCd9/QEq2V6BvVd0le3K672FU/y3d6msu VlfCYcYeAhBP08QqS0aa3iwPVSCS9VBgwB5IC8Nf0ffwTAftIjiDTsyt5ZRvuxAP/F8k TQ6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :mime-version:user-agent:date:message-id:to:subject:from :dkim-signature; bh=IKE+K7Fxy/2eZytNdt8Wao25k1SAAv/sWNa9wAiClHY=; b=xlZzmr8qpsN2x6Pls9wMHN8ylY2uABD/5fqqNBoHs/K9OJscW9LM0tNffN4/7sFzxB b+hTbq1UX9ezWOan0vFohxZS/4i9UHQX09dSmskraFgk1706PL3Ns9A8R+xs1YMwXV5Q 7sVp8BtIFtOqX/YzZkai1Pl/GzH68WM4HWYYrJ22YfG3ZOq7Ei5nHofmkfYHgu+epvR5 qYgLkEolKncbQ1wEd29HFOyTsZCNvOdrYBD72dLE9MDXjuSVQ5pqZReZ/uyKoUpXG+kC I/QoFq1ru1+PZ+N228/cGIWSBm9wV4ng4UlPXrsG8jjhWrtsKN/UdHf4Wr2j4Sgsxghm Ejbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@valdikss.org.ru header.s=msrv header.b=ygOWFE6X; 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 c24si3862196edx.510.2021.08.08.16.00.13; Sun, 08 Aug 2021 16:00:53 -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=ygOWFE6X; 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 S231168AbhHHWv7 (ORCPT + 99 others); Sun, 8 Aug 2021 18:51:59 -0400 Received: from mail.valdk.tel ([185.177.150.13]:59468 "EHLO mail.valdk.tel" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231158AbhHHWv7 (ORCPT ); Sun, 8 Aug 2021 18:51:59 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id EB91824CADF for ; Mon, 9 Aug 2021 01:51:37 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=valdikss.org.ru; s=msrv; t=1628463098; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding; bh=IKE+K7Fxy/2eZytNdt8Wao25k1SAAv/sWNa9wAiClHY=; b=ygOWFE6X+1xk7NZeXF4F9snnY5HZYFJXEKkv61m0UjqLMPFZpUXkbz8Pyt7wPSXwDSvhoj UdOiKBuemKYlMiVVLDO2WKNs/ffsi6mMAa5MmJRWdHRz2wswUfbaT3O21zri+we2US1pKK V47iopMeHK00OT9i4C7KfWGocKhMH+WEcSw5XmTeG1KPxgWa8mR3e2VNnVfbMJRKHjx5Ti DgAuJMLHswvKWTiEAM5sJdiV3d2ks4/GdqfwAzJpM/CaAc49EGsD3HMVCxiNw5sSSO/ddM nONgljFnxuD7XiMXWFBZGS2Gzy2PBVhtaCzEuUtY2lJqRpFFRthKmu3vQfA0Yw== From: ValdikSS Subject: ext4lazyinit reads HDD data on mount since 5.13 To: linux-ext4@vger.kernel.org Message-ID: <9afffe90-5f1e-7522-7383-57884081a01d@valdikss.org.ru> Date: Mon, 9 Aug 2021 01:51:36 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.5.0) Gecko/20100101, Thunderbird/78.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Last-TLS-Session-Version: TLSv1.3 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hello, After updating to kernel 5.13, my ext4 partition is read for ~20 seconds upon mounting by ext4lazyinit. It does not write anything, only reads (inspected with iotop), and it does so only on mount and only for relatively short amount of time. My partition is several years old and have been fully initialized long ago. Mounting with `init_itable=0` did not change anything: ext4lazyinit does not write anything to begin with. 5.12.15 does not have such behavior. Did I miss a configuration change? Is that a regression or a new feature?