Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2522052ybe; Tue, 3 Sep 2019 14:18:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqyROxZ+rANFYb3Kq/3RVLg/F3hUvFEJ6WnsbVA/oCiBXyjH5i0oADQeXo9E54KeNw3542Vf X-Received: by 2002:a17:902:142:: with SMTP id 60mr37678484plb.155.1567545492990; Tue, 03 Sep 2019 14:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567545492; cv=none; d=google.com; s=arc-20160816; b=jVBxnM36YVrsmiZBEVq4aALK9is+lFUa0ZkIxgvkFxmD+1FXIr/En+jeZuh9Lt1LZy LtPnBec6qJACp/NMTCP5yKqlzkAhLir5SRgOLSNmI9vQj8KnRUG3endBqQnZyyyiLPRK FUQQqDTGFcI3ZaxPE+Oyk5jaCzL810TG8SKzkAsj3A8Q7kIyjPGblZOHYOBCyH/J5zwK UBRJV3rSPYGxX7Ur/1z6bFg3YMCdI13IKdDV7Ga+EXYvnQs30p8hGiWU72fq0ZJOd6S8 54orxgSp3SYuPPaNnQ4HMiq7FxJwT+xGU5qp/NTPMNzEWRnLsxxXXn778KBuSlmjGbSR Hj2Q== 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=//HQ4C+2M6WSAPGG7VqXZ/KEG/q0xn9sshgZpUEhWDs=; b=vBUF9nEJQZaASxt+tY5zNPRJR4V4cHZKW8Rtol52ChbRGjn6BiV6887ZO1X2bRuhhj IENQmki8YEFSQXGsZkyWHJKw8jFsMx3IpzLiJJBjgysj0rJnH+ZIuEc+RneKvFtvV5iP yeMKMHC7va9qBc/jLTL4RgkTuDaPcjhpzu+3/Bd6Pu0W/Z1xk8bzpnpfxHiHG8Jz7kbM xByMXbjMziOygc1syq7qMt89wQgyRfpPGaZMHPPBSHZPaWnW+/XcGN+Cjhf4olOLifCw 9RED1kYgYN9HzSPvr9xmUyeUmm7Y/ss1VP1gyjn1w+gA8C23yCG0XMSz/BalDAy3MAs3 tVxg== 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 66si15560689plc.428.2019.09.03.14.17.57; Tue, 03 Sep 2019 14:18:12 -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 S1726440AbfICVR5 (ORCPT + 99 others); Tue, 3 Sep 2019 17:17:57 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:41590 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726375AbfICVR5 (ORCPT ); Tue, 3 Sep 2019 17:17:57 -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 x83LHmaX031393 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 3 Sep 2019 17:17:49 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id E453442049E; Tue, 3 Sep 2019 17:17:47 -0400 (EDT) Date: Tue, 3 Sep 2019 17:17:47 -0400 From: "Theodore Y. Ts'o" To: Deepa Dinamani Cc: Qian Cai , Jeff Layton , Alexander Viro , Linux FS-devel Mailing List , Linux Kernel Mailing List , Ext4 Developers List , Andreas Dilger , Arnd Bergmann Subject: Re: "beyond 2038" warnings from loopback mount is noisy Message-ID: <20190903211747.GD2899@mit.edu> References: <1567523922.5576.57.camel@lca.pw> 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:18:44AM -0700, Deepa Dinamani wrote: > > This prints a warning for each inode that doesn't extend limits beyond > 2038. It is rate limited by the ext4_warning_inode(). > Looks like your filesystem has inodes that cannot be extended. > We could use a different rate limit or ignore this corner case. Do the > maintainers have a preference? We need to drop this commit (ext4: Initialize timestamps limits), or at least the portion which adds the call to the EXT4_INODE_SET_XTIME macro in ext4.h. I know of a truly vast number of servers in production all over the world which are using 128 byte inodes, and spamming the inodes at the maximum rate limit is a really bad idea. This includes at some major cloud data centers where the life of individual servers in their data centers is well understood (they're not going to last until 2038) and nothing stored on the local Linux file systems are long-lived --- that's all stored in the cluster file systems. The choice of 128 byte inode was deliberately chosen to maximize storage TCO, and so spamming a warning at high rates is going to be extremely unfriendly. In cases where the inode size is such that there is no chance at all to support timestamps beyond 2038, a single warning at mount time, or maybe a warning at mkfs time might be acceptable. But there's no point printing a warning time each time we set a timestamp on such a file system. It's not going to change, and past a certain point, we need to trust that people who are using 128 byte inodes did so knowing what the tradeoffs might be. After all, it is *not* the default. - Ted