[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160213021832.GP19486@dastard>
Date: Sat, 13 Feb 2016 13:18:32 +1100
From: Dave Chinner <david@...morbit.com>
To: Deepa Dinamani <deepa.kernel@...il.com>
Cc: linux-fsdevel@...r.kernel.org, y2038@...ts.linaro.org,
Arnd Bergmann <arnd@...db.de>, Theodore Ts'o <tytso@....edu>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC v2b 5/5] fs: xfs: change inode times to use vfs_time data
type
On Fri, Feb 12, 2016 at 01:45:49AM -0800, Deepa Dinamani wrote:
> This is in preparation for changing VFS inode timestamps to
> use 64 bit time.
> The VFS inode timestamps are not y2038 safe as they use
> struct timespec. These will be changed to use struct timespec64
> instead and that is y2038 safe.
> But, since the above data type conversion will break the
> end file systems, use vfs_time functions to access inode times.
>
> current_fs_time() will change along with vfs timestamp data
> type changes.
>
> xfs_vn_update_time() is a .update callback for inode operations
> and this needs to change along with vfs inode times.
This code is all different in the current XFS for-next branch.
XFS no longer has it's own internal timestamps - it only uses the
timestamps in the struct inode now.
Cheers,
Dave.
--
Dave Chinner
david@...morbit.com
Powered by blists - more mailing lists