Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4653054ybg; Mon, 8 Jun 2020 13:24:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxI3iHPDcIGIc9WBdLh6iYxZkWThqyvcaVS8ePuv02+SrAF3//cqcfV9bnWVjv8UNGfnJGU X-Received: by 2002:a50:f0c4:: with SMTP id a4mr24526956edm.125.1591647898397; Mon, 08 Jun 2020 13:24:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591647898; cv=none; d=google.com; s=arc-20160816; b=ahuvrIsADQEpzGjoRhsWtqvkSaWLoWJISZm5cgTT76S75duurMT+/HQHtMYzOjCtIs iNj90Z6IUirxKixp+/7iSLGvhE7EZaZ9/ihHxI6e9bnfdedYCvF0F1v6wjvtJsPvuAw1 qKYjJDZqzPCq5l2FFpL2IesJ5zkPP/ayhSupqBKpFxWbWxDWDx+cnDgvCRW3kKe1rz26 r1RHBF2JPHvx9oRKisQUm9kBBqbC+emcWpiN56qFV8cW0dCOf1eWcAmtwMHbDvDvkw4p dEhoCsH7V4nQgPHJlJqyVuHaNn86gBfItX+QDg3eqrej+l/iE3kGrkhHDhMg3tYGSmz7 ul1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=cZU9VbBnSFhHZOn4cKm3o9fYKj+EcozxEaaYPTX7VMY=; b=nBWgg0otONPm19apDDc4vWf+CulJV62/PzFvAphS4ZmskuihsbwS98sejz8rAKpvNS evOqgGlm8y9gbCbZGDLq9sKFZZrt4IEIqRTHHWGYgHtg1ig28Mti966LU1vAxz8evgup GCplFfegAdX+QTJOydz5M+ZPIiqM7RnFToibR34X7ig1hOgl/da7EUkroUAIHFQjdWfn wOYSuFjejb1AVGW1pIzoy2cpi18Kolee7TilPfo8DoXig+qb+xNxzLJx4t5ZNnRcP7l/ mTovDjeXc5b57bSCWvKHXZucJ+6MK7Kl9O8PucD2J2k6omARcka4uE4AxpsMF5M+fRf1 oq9w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i27si9484738edb.334.2020.06.08.13.24.34; Mon, 08 Jun 2020 13:24:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726522AbgFHUY2 (ORCPT + 99 others); Mon, 8 Jun 2020 16:24:28 -0400 Received: from mail.thelounge.net ([91.118.73.15]:22523 "EHLO mail.thelounge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgFHUY1 (ORCPT ); Mon, 8 Jun 2020 16:24:27 -0400 Received: from srv-rhsoft.rhsoft.net (rh.vpn.thelounge.net [10.10.10.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 49gl8n3dpbzXPN; Mon, 8 Jun 2020 22:24:25 +0200 (CEST) Subject: Re: ext4 filesystem being mounted at /boot supports timestamps until 2038 To: Andreas Dilger Cc: Ext4 Developers List References: From: Reindl Harald Organization: the lounge interactive design Message-ID: <5a3eefd0-ba26-6a56-0118-e2a601b1cee3@thelounge.net> Date: Mon, 8 Jun 2020 22:24:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Am 08.06.20 um 22:15 schrieb Andreas Dilger: > On Jun 6, 2020, at 10:45 AM, Reindl Harald wrote: >> >> are you guys kidding me? >> >> * create a new vmware vdisk with 512 MB >> * kernel 5.7.0, e2fsprogs-1.45.5-1.fc31.x86_64 >> * mount the filesystem >> >> Jun 6 18:37:57 master kernel: ext4 filesystem being mounted at /boot >> supports timestamps until 2038 (0x7fffffff) >> >> https://lore.kernel.org/patchwork/patch/1172334/ > > Hi Reindl, > It isn't clear if your complaint is about the warning message, or the > fact that this is an issue with the newly-formatted filesystem? The > *issue* of 2038 timestamps has always existed, but the warning message > is newly added so that people have time to fix this if necessary. that it even is an issue with a newly-formatted filesystem in 220 > I wonder if it makes sense to add a superblock flag like "yes, I know > this is not 2038 compliant, and I don't care"? well, more or less i case because i expect that setups to still live in 2038 and it's unclear what happens then >> ----------------------------- >> >> this does *not* happen when the vdisk is 768 MB instead just 512 MB >> large - what's te point of defaults which lead to warnings like this in >> 2020? > > This is a matter of space usage. Enabling the 64-bit timestamps requires > that the filesystem be formatted with 256-byte inodes, since there wasn't > enough space in the original 128-byte inodes for the larger timestamps > (among other things). That means either 1/2 as many inodes for the > filesystem to fit in the same metadata space, or double the amount of > metadata usage for the filesystem (reducing free space). none of that would have mattered Filesystem Type Size Used Available Use% Mounted on /dev/root ext4 738.9M 54.0M 669.6M 7% / > The assumption is that smaller filesystems like this are unlikely to be > used for storing long-term data adventurous assumption > so maximizing the usable space is most > important. It is unlikely you will be using the same /boot filesystem > in 18 years, and if you are it is even less likely that it is being > updated on a regular basis. why wouldn't it on virtual machines? most of my stuff has the same golden master from 2008 as source and is running happily the newest kernel and newest Fedora release in the case with the new formatted filesystem it was even the rootfs which was a 6 GB vdisk and i created a new one and copied the whole data while mounte dfrom a different vm > It is possible to enable the larger inodes for any size filesystem by > formatting with "mk2fs -I 256 ". See "man mke2fs" > for full details. well, i decided to go from 512 MV to 768 MB which is at least magnitudes smaller than 6 GB and don't throw warnings at the first mount