Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2603972ybe; Tue, 3 Sep 2019 15:48:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtv64kLDs2OLRKBrIeBHfDH20pA3KJHjfYEVeqWV/MoUTF9KKq1lhtG+a1jA8fAf7ZN9Ix X-Received: by 2002:a62:834c:: with SMTP id h73mr971707pfe.183.1567550905110; Tue, 03 Sep 2019 15:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567550905; cv=none; d=google.com; s=arc-20160816; b=p/X0KvlaNj6pGOLORmExNsrtoQKV4UixuDiySdsedTa+gCtdNtCzuAS2iICOm814LE KoKNX5HNL+sZP7BJ7X4Jcsxc2nroNZzu43tXRxF+pD43UDJkA6jeNgbj6+hR2hEqHB3s NdSBGCSQyrSJy0mSsS3TcXwIZGzkbzLX3v8BpR129Fg412OTDN0jmNZv4fBF2zi+bn6p atbXrB7WemIELk7JR9Wu/DCr9HO1bCJXgzYkg0pw+bqCtzxMBNbQJ1inRtEePDBpBTNc vz3yR+Lk12ZcumMZnjSqEuo06DxfciNLQ6Yx28sIrTpWpur8dqeSC4K6gxkm7EUTfilk 1m/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b+0ODIduqf/tig5TqOM+YYbA2pYXGKyyZMpPjI/CsX8=; b=riN5NFV4+ZbXl1MdRvewI9NsZgclKDTZ56apdZQraTThG6jIl5jX8am0/dT8rnUVBX CRKDtvK8RlR8cqEzWjwXeaKdsNm3UTllua4fcpfZHJVH/Ev/uaRuov8+P3qbCsAYJTQk y8hR5ttsvgJsyVQfstUPHFNyBiWCc7yMoMOoZUTdWlSCIm+K/30OFyNdnQPY0OBCkPdN TYTYWYAGVHIrk2QAWGongG7bp3vthtaC7FDpB06NJI94avoEjRois8+ZMS+XeVi7A/xK +g4n+wtWV3AsLfJsk21bqTzpw6ptzCylwDBteIOyFZiLHw1rrQifVId024RTqqjRmfem 3cjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J0XNMsKq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k133si15598762pgc.425.2019.09.03.15.48.09; Tue, 03 Sep 2019 15:48:25 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J0XNMsKq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726009AbfICWsI (ORCPT + 99 others); Tue, 3 Sep 2019 18:48:08 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:45274 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbfICWsI (ORCPT ); Tue, 3 Sep 2019 18:48:08 -0400 Received: by mail-io1-f68.google.com with SMTP id f12so22301081iog.12; Tue, 03 Sep 2019 15:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b+0ODIduqf/tig5TqOM+YYbA2pYXGKyyZMpPjI/CsX8=; b=J0XNMsKqjAhcQwLt76rnH8en27O9JMnuKV7ZBTjpCzepEvmogt9TmOjqRlunlJTEvA c+kq4qKWV/V524gOdnZFpjgCnt0LcQ2NL70JRUKYqmcFHeSS18g7rtpTtTxYD8VOU4P1 JRAbwIsZQRth7gFv1DnvUaDRrX6o3tyqpqZ0DgYUq2ETaPj/YB0ykk8k0coxttXBZpNc ZqSa+gx/yLUrEgBOgAImPkWHky5HJrpkDnBAiomnVVudaoFshDxwHUHX3O+kXg4bHT0z aBoxmGDtdFv7sxBfiPCAp9YSZCXsU7k1bzlZV8osegPJZsMUTEhLm0H2IUlAioUYtauI pOkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b+0ODIduqf/tig5TqOM+YYbA2pYXGKyyZMpPjI/CsX8=; b=pqBjSfvM5gtRdCxS7Kgf+NtsEDeSAf8HkJfpWtPNKr7HCQMmw0xpSVlRVQstvRNnN+ QlHSdwL6klcwzKS4pIG7mSjZkqeh+5T5xLMPeUWIXiyvTglxVWmLVSDB3reJkTy1BCGB bTB5bJxPz1ASDgi1+dbuvPbt9oCPpthi1EI1NNhpgpIEG7ZJpIFgz6cIXIQYcWrFNWO0 Pd1UEtWZ3SkzXK572YYdtWzB+eRWpvhtvJgfT/wY9OTESXTdv5+NzKkZjrrSzUSh6YeO 1gfQGKJeO32+qs0YPZjN0Fn+wJtpZ2IMULWm+tXvnkwhp6zZ4GmpTGYW9A159Zjpy/QS fLDg== X-Gm-Message-State: APjAAAXfHF67c3HB/mvwlV3Y4DEn5ZeMZwG4XgUcGEJWvb5yXc0FV4Ep XMI7qlm/+aZbCzEXSYx6cdsJsyTjbN0JQrZ/r7k= X-Received: by 2002:a6b:400f:: with SMTP id k15mr2827489ioa.153.1567550887031; Tue, 03 Sep 2019 15:48:07 -0700 (PDT) MIME-Version: 1.0 References: <1567523922.5576.57.camel@lca.pw> <20190903211747.GD2899@mit.edu> <20190903223815.GH2899@mit.edu> In-Reply-To: <20190903223815.GH2899@mit.edu> From: Deepa Dinamani Date: Tue, 3 Sep 2019 15:47:54 -0700 Message-ID: Subject: Re: "beyond 2038" warnings from loopback mount is noisy To: "Theodore Y. Ts'o" Cc: Arnd Bergmann , Qian Cai , Jeff Layton , Alexander Viro , Linux FS-devel Mailing List , Linux Kernel Mailing List , Ext4 Developers List , Andreas Dilger Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org > > diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h > > index 9e3ae3be3de9..5a971d1b6d5e 100644 > > --- a/fs/ext4/ext4.h > > +++ b/fs/ext4/ext4.h > > @@ -835,7 +835,9 @@ do { > > \ > > } > > \ > > else {\ > > (raw_inode)->xtime = cpu_to_le32(clamp_t(int32_t, > > (inode)->xtime.tv_sec, S32_MIN, S32_MAX)); \ > > - ext4_warning_inode(inode, "inode does not support > > timestamps beyond 2038"); \ > > + if (((inode)->xtime.tv_sec != (raw_inode)->xtime) && \ > > + ((inode)->i_sb->s_time_max > S32_MAX)) > > \ > > + ext4_warning_inode(inode, "inode does not > > support timestamps beyond 2038"); \ > > } \ > > } while (0) > > Sure, that's much less objectionable. The reason it was warning for every update was because of the ratelimiting. I think ratelimiting is not working well here. I will check that part. -Deepa