Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1045308ybe; Wed, 4 Sep 2019 11:40:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIdokuWdYfE2GDx7xoQCxEFK8Lu+zqOjkfc4brFytczk7ydrEehGJu4LNVjGDBwP0XdfjY X-Received: by 2002:a17:90a:77c9:: with SMTP id e9mr6100376pjs.141.1567622433255; Wed, 04 Sep 2019 11:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567622433; cv=none; d=google.com; s=arc-20160816; b=BfYCqs4jq9Rg8Yu1NHfiNXYCeiickuBMAdqqgsFjPeM8OPGsGIAmcfFSvB8l9PgG/E YPiUreKLxujWRh77LIjOlYEcSv+/0B6DHeu/BeuWNtaWwoM5VhXxjn4N5OUJCU/d2WJW tcO7H+uotYex/BHBcEvfhWM/3JJmt15VDAVT4mse2zwRU5QyLTXV0VIErKNDMtCcUj7M XsJkJh4GxSexrdv3jDpGLZ0J4F1K/G3JQPoo+Ot1geirMYq55dhgFaX76I3UypG0hlsT wTrUqgFscczuikstvn/HXyc0eyiZijSaibFdBqZgw+iES+4FTRtR7R/SHQAY/iU5jb41 niFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=RFVxIo+Qn+D3l74R0gbfOnsQVErdkpTLqYjhLCUkAbw=; b=RjLMRylC6QucSWQ/YORtT8jyBuUj6A3oAg2CVt562Rz9SAZjLsMili7cJskiTqoHHO GqviyTyEYvLsg+wdB+GiM+dBN2OSQjEFJ+AjOPp/Ar0cS2wPFecIOBcu03g78DkIFvcy WyyPpa7ABnU76VRqn1gh06m5InUM3kzsnCwIVu8Zdf/dFB52WVLgdDuemvcdBnk92Uen 4LE8PslrzBiTCG4XaxCZxUJfwUynEeMpiU83d/hHW1RA6mLsGKDneCz/+9fykBGJ0Tnu gmpb0RLsRJ2MWgfRa70RIdNOsqQTBGOXANtBghe/BfzEWs3h8TAjwjGYlwb0Pn45D0Fb rcXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dilger-ca.20150623.gappssmtp.com header.s=20150623 header.b=jv5RYYTH; 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 b31si17574508pgb.128.2019.09.04.11.40.10; Wed, 04 Sep 2019 11:40:33 -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=@dilger-ca.20150623.gappssmtp.com header.s=20150623 header.b=jv5RYYTH; 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 S1732998AbfIDSjZ (ORCPT + 99 others); Wed, 4 Sep 2019 14:39:25 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:45138 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732991AbfIDSjY (ORCPT ); Wed, 4 Sep 2019 14:39:24 -0400 Received: by mail-pl1-f193.google.com with SMTP id x3so4817300plr.12 for ; Wed, 04 Sep 2019 11:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dilger-ca.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=RFVxIo+Qn+D3l74R0gbfOnsQVErdkpTLqYjhLCUkAbw=; b=jv5RYYTHFRDQwQoavPr+s26IndTLQO1TBV8cq+L3X/QMkeT0/ARB3rrjSwpb5wT7pf HtAMic+J1yHXdWpxSKcqVbMIg1qIjlRvQrl2FC694er0m9eDz9r15q7fzqREYWveN3q/ INbD175q4V8GheY5yqsIeOAt2YahZu+uSA5DZVxnb+U2tUCevLqsvSO4ddZ8xDU8dwt1 xDID7Ea5A1yayF/lfUXOZ/7V8pNUnkbju8VHPFtEuCHaNyc+qDXu1EtssjenusvKOXof R67M83ORZEZQVKvh8VIOJeFUUOkfriI2Q8FLCGJTLS4s7Df2JvUiqA4G8r1sJhp9runZ yeOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=RFVxIo+Qn+D3l74R0gbfOnsQVErdkpTLqYjhLCUkAbw=; b=XwEi6qQ7sFCH4lFxYl4p48ZLjsew+e+iu2A0yxlH/GVEUL5MbtLuAirG40ZpwodFwH Rl0LE59Egr4rIO/5MdttLJu7/8NQoofkg5ZILzv6yhMyNl6FSEm4zQDtgYKz3rFxfdhx 9pySc/EVzi89DtJ/US0t0RwQxzD5cFFTKGp+w4QzHrTqRmBXivzvUrrgv7Xw5Tv1M8bJ u/W0vOuN/YJT3UhTylGdtCDb3qYy0IZqEiuZRiMDc9l0d7GaPPTSruegs5AXSSeiPMUO /7LlN3dpH54IXG03nCkXg6+Ea09yd/btP7BJEpUIYUc1rw1s0JVLQOx3mTIBnjspDjUO 9e+g== X-Gm-Message-State: APjAAAVgfzL91c3luPDj3+j7fN7n/MQMTTFQehZRvYac2jmnaS4628vi iPIyhyoWunORCuh9pwt3lD+XSQ== X-Received: by 2002:a17:902:b201:: with SMTP id t1mr8923386plr.144.1567622363810; Wed, 04 Sep 2019 11:39:23 -0700 (PDT) Received: from [192.168.10.175] (S0106a84e3fe4b223.cg.shawcable.net. [70.77.216.213]) by smtp.gmail.com with ESMTPSA id k31sm6938153pjb.14.2019.09.04.11.39.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Sep 2019 11:39:23 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] ext4: Reduce ext4 timestamp warnings From: Andreas Dilger X-Mailer: iPhone Mail (16G102) In-Reply-To: <20190904150251.27004-1-deepa.kernel@gmail.com> Date: Wed, 4 Sep 2019 12:39:22 -0600 Cc: arnd@arndb.de, linux-kernel@vger.kernel.org, tytso@mit.edu, adilger.kernel@dilger.ca, cai@lca.pw, jlayton@kernel.org, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk Content-Transfer-Encoding: quoted-printable Message-Id: References: <31a671ea-a00b-37da-5f30-558c3ab6d690@thelounge.net> <20190904150251.27004-1-deepa.kernel@gmail.com> To: Deepa Dinamani Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sep 4, 2019, at 09:02, Deepa Dinamani wrote: >=20 > When ext4 file systems were created intentionally with 128 byte inodes, > the rate-limited warning of eventual possible timestamp overflow are > still emitted rather frequently. Remove the warning for now. >=20 > Discussion for whether any warning is needed, > and where it should be emitted, can be found at > https://lore.kernel.org/lkml/1567523922.5576.57.camel@lca.pw/. > I can post a separate follow-up patch after the conclusion. >=20 > Reported-by: Qian Cai > Signed-off-by: Deepa Dinamani I'd be in favor of a severely rare-limited warning in the actual case that Y2038 timestamps cannot be stored, but the current message is too verbose for now and I agree it is better to remove it while discussions on the best solution are underway.=20 Reviewed-by: Andreas Dilger > --- > fs/ext4/ext4.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >=20 > diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h > index 9e3ae3be3de9..24b14bd3feab 100644 > --- a/fs/ext4/ext4.h > +++ b/fs/ext4/ext4.h > @@ -833,10 +833,8 @@ do { \ > (raw_inode)->xtime ## _extra =3D \ > ext4_encode_extra_time(&(inode)->xtime); \ > } \ > - else {\ > + else \ > (raw_inode)->xtime =3D cpu_to_le32(clamp_t(int32_t, (inode)->xtime.= tv_sec, S32_MIN, S32_MAX)); \ > - ext4_warning_inode(inode, "inode does not support timestamps beyo= nd 2038"); \ > - } \ > } while (0) >=20 > #define EXT4_EINODE_SET_XTIME(xtime, einode, raw_inode) \= > --=20 > 2.17.1 >=20