Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp659447ybe; Wed, 4 Sep 2019 05:59:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKPrOy8z6jQdzmWpUpJRSoWQisuKFe/695GjK0LOt6NZPLVTh4dCyyfa09h8HL8L+Tp2jY X-Received: by 2002:aa7:8585:: with SMTP id w5mr45007641pfn.1.1567601940551; Wed, 04 Sep 2019 05:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567601940; cv=none; d=google.com; s=arc-20160816; b=KPvoF9FtygTYj0YK1Ja62ggGCnKwavutBVEHTSZm70hkMx/DwrKr9eFzbDu0DshCGg 3LAPROE+7LFAyNKlZVjxhZqQ4to+s0ztR0j+LHk1vvg/2o1Dixs0cczm9BU9qLIiC/gC 4xR/kZrP/0nNSEzpHNIGZCuHmVWKsKn/erPrw9NLbg3mCiZHF8aNXM0JYE3PHAsrlfol +y+xcaBVJHWAonXL9RNolku7yfmc9ZdGQQKC3fQrWgcxmxZ7h/tk9gT/hfOxHdc5a2QY 2GJRuqqecdTuSB9mjv9jXwNnQIcgXAfRYqWKbS+yYjEDeTYRM+8dc9lp/DB1+m3BNtTs fTUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ch2v9Dr60SvD3jb4zfuHki1aDf89GIsZDmSqBghy7Kk=; b=ozHOoGafZmMxUfq+LKqO79Hz+hJyMgXP+Sr+d2hfTp+yFmSwSG5tkZv57nUPOl+qr3 MuQJIhIm3jUz15fGzRvp9uiRBh8f4U04jEK6FfjUeB3P+G3QKbANhBo97CVGsZUdg7Fc MSq60S13h/m3Q+IbtK15nHjWePJ8fWIDiiWXI0Exi23DASWU6gWJ78UgzFT8y8Im3G83 9ZZngj4uRCs70aGw1eTLX/tvhqpgTWPfMvtjt6OsumJmi/j/YhjQBTe1BkT2CPusoOk0 CnB952tzf/w6GzclpVkRAKQaDFquXQy85VVYVa8Z0vDfvx843pqz9EKAxuVnprg9JWi+ ZUxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 6si17422581pgt.13.2019.09.04.05.58.45; Wed, 04 Sep 2019 05:59:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729635AbfIDM6o (ORCPT + 99 others); Wed, 4 Sep 2019 08:58:44 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:36366 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727900AbfIDM6o (ORCPT ); Wed, 4 Sep 2019 08:58:44 -0400 Received: from callcc.thunk.org (guestnat-104-133-0-96.corp.google.com [104.133.0.96] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x84CwYVZ022125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Sep 2019 08:58:35 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id C62D042049E; Wed, 4 Sep 2019 08:58:34 -0400 (EDT) Date: Wed, 4 Sep 2019 08:58:34 -0400 From: "Theodore Y. Ts'o" To: Deepa Dinamani Cc: Arnd Bergmann , Qian Cai , Jeff Layton , Alexander Viro , Linux FS-devel Mailing List , Linux Kernel Mailing List , Ext4 Developers List , Andreas Dilger Subject: Re: "beyond 2038" warnings from loopback mount is noisy Message-ID: <20190904125834.GA3044@mit.edu> References: <1567523922.5576.57.camel@lca.pw> <20190903211747.GD2899@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Sep 03, 2019 at 09:50:09PM -0700, Deepa Dinamani wrote: > If we don't care to warn about the timestamps that are clamped in > memory, maybe we could just warn when they are being written out. > Would something like this be more acceptable? I would also remove the > warning in ext4.h. I think we don't have to check if the inode is 128 > bytes here (Please correct me if I am wrong). If this looks ok, I can > post this. That's better, but it's going to be misleading in many cases. The inode's extra size field is 16 or larger, there will be enough space for the timestamps, so talking about "timestamps on this inode beyond 2038" when ext4 is unable to expand it from say, 24 to 32, won't be true. Certain certain features won't be available, yes --- such as project-id-based quotas, since there won't be room to store the project ID. However, it's not going to impact the ability to store timestamps beyond 2038. The i_extra_isize field is not just about timestamps! Again, the likelihood that there will be file systems that have this problem in 2038 is... extremely low in my judgement. Storage media just doesn't last that long; and distributions such as Red Hat and SuSE very strongly encourage people to reformat file systems and do *not* support upgrades from ext3 to ext4 by using tune2fs. If you do this, their help desk will laugh at you and refuse to help you. Companies like Google will do this kind of upgrades[1], sure. But that's because backing up and reformatting vast numbers of file systems are not practical at scale. (And even Google doesn't maintain the file system image when the servers are old enough to be TCO negative and it's time to replace them.) In contrast, most companies / users don't do this sort of thing at all. It's not an issue for Cell Phones, for example, or most consumer devices, which are lucky if the last more than 3 years before they get desupported and stop getting security updates, and then the lithium ion batttery dies and the device end up in a landfill. Those that might live 20 years (although good luck with that for something like, say, a smart thermostat) aren't going to have a console and no one will be paying attention to the kernel messages anyway. So is it really worth it? For whom are these messages meant? [1] https://www.youtube.com/watch?v=Wp5Ehw7ByuU Cheers, - Ted