xfs
[Top] [All Lists]

Re: [RFC 00/32] making inode time stamps y2038 ready

To: Arnd Bergmann <arnd@xxxxxxxx>
Subject: Re: [RFC 00/32] making inode time stamps y2038 ready
From: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Date: Sat, 31 May 2014 18:20:43 +0200
Cc: Richard Cochran <richardcochran@xxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, MTD Maling List <linux-mtd@xxxxxxxxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, logfs@xxxxxxxxx, linux-afs@xxxxxxxxxxxxxxxxxxx, "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>, Linux-Arch <linux-arch@xxxxxxxxxxxxxxx>, linux-cifs@xxxxxxxxxxxxxxx, scsi <linux-scsi@xxxxxxxxxxxxxxx>, ceph-devel@xxxxxxxxxxxxxxx, codalist@xxxxxxxxxxxxxxx, cluster-devel@xxxxxxxxxx, coda@xxxxxxxxxx, "linux-ext4@xxxxxxxxxxxxxxx" <linux-ext4@xxxxxxxxxxxxxxx>, fuse-devel@xxxxxxxxxxxxxxxxxxxxx, reiserfs-devel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, John Stultz <john.stultz@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, "open list:NFS, SUNRPC, AND..." <linux-nfs@xxxxxxxxxxxxxxx>, linux-ntfs-dev@xxxxxxxxxxxxxxxxxxxxx, samba-technical@xxxxxxxxxxxxxxx, linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx, ocfs2-devel@xxxxxxxxxxxxxx, Linux FS Devel <linux-fsdevel@xxxxxxxxxxxxxxx>, Ley Foon Tan <lftan@xxxxxxxxxx>, linux-btrfs <linux-btrfs@xxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=z1sjv3U6dQtBg50DqoGmrpLgr9lbwZdNk8VbbxvSvPc=; b=g6L434/F7AUwJYnr/XGaytiRBRY1JFdYP34tQEd1BQqOl0v5DK+KLtKbN6N6OJtXqv btbLq/+iMMjOInN+CEur0NV4E0Db8DL1lKgTEujukUfISooVFcrmZPh5Ms9njiL9u0dI sw8M5E81JbaGmVww6v897wc7Awpf/SytzGjH4xGbSOzJeFYxZtcjyJiKv5rbSAuHzXK4 77nEvGd3k0jQyGuQwoEQmSbjqbHZC5Q/skS1bGYdMrgBxaqfbnxKy5VJ64tUjIUO0utP EKFzf2M+xjIiJ1vLw7UKghPr9igWrmH0TqvN2nkMWRz7DPZJfpT23jVu13qiNlSbfPTN jtUw==
In-reply-to: <6347520.8jMPlVsFjM@wuerfel>
References: <1401480116-1973111-1-git-send-email-arnd@xxxxxxxx> <20140531145114.GA3721@xxxxxxxxxxxxxxxxxxxxx> <6347520.8jMPlVsFjM@wuerfel>
Sender: geert.uytterhoeven@xxxxxxxxx
On Sat, May 31, 2014 at 5:23 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Saturday 31 May 2014 16:51:15 Richard Cochran wrote:
>> On Fri, May 30, 2014 at 10:01:24PM +0200, Arnd Bergmann wrote:
>> > I picked this because it is a fairly isolated problem, as the
>> > inode time stamps are rarely assigned to any other time values.
>> > As a byproduct of this work, I documented for each of the file
>> > systems we support how long the on-disk format can work[1].
>>
>> Why are some of the time stamp expiration dates marked as "never"?
>
> It's an approximation:
> with 64-bit timestamps, you can represent close to 300 billion
> years, which is way past the time that our planet can sustain
> life of any form[1].

FWIW, the 48-bit second limit of befs marked never happens sooner
than the 32-bit day limit of affs marked as Y11760870.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>