[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1455269766-2994-1-git-send-email-deepa.kernel@gmail.com>
Date: Fri, 12 Feb 2016 01:35:54 -0800
From: Deepa Dinamani <deepa.kernel@...il.com>
To: linux-fsdevel@...r.kernel.org, y2038@...ts.linaro.org
Cc: Arnd Bergmann <arnd@...db.de>, Dave Chinner <david@...morbit.com>,
"Theodore Ts'o" <tytso@....edu>, linux-kernel@...r.kernel.org
Subject: [RFC v2a 00/12] vfs 64 bit time transition proposal
Introduction
The series is one of the proposals on how to transition VFS timestamps
to use 64 bit time. This is the inode_timespec idea proposed in the
original RFC series. The type name has been changed to vfs_time based
on Dave Chinner’s suggestion.
Solution
This series defines a new type name for vfs timestamps: vfs_time.
All the individual file systems will use struct vfs_time to access vfs
timestamps. Current time APIs also return vfs times and are considered
to be part of vfs as they are exclusively used for inode timestamps.
These are the steps involved:
1.Define vfs_time as an alias to timespec
2.Change individual filesystems to use only vfs_time data type
for timestamps. Make sure each filesystem will be safe when
converted to use timespec64
3.Change vfs_time to be an alias for timespec64.
4.Change all filesystems to use timespec64 directly.
Note that the series only includes patches for steps 1 and 2.
Concerns
1.Before the vfs layer is done, it might be confusing to developers
as individual filesystems now will have two options for access:
timespec and vfs_time type.
Deepa Dinamani (12):
vfs: Add vfs_time abstractions
fs: cifs: Change cifs_fscache_inode_auxdata to use vfs_time data type
fs: cifs: Change cifs_fattr timestamps data type to vfs_time
fs: cifs: Make cnvrtDosUnixTm() y2038 safe
fs: cifs: Use vfs_time_get_real_* time functions
fs: btrfs: Change btrfs_inode.i_otime to use vfs_time data type
fs: btrfs: Use vfs_time data type for btrfs_update_time()
fs: btrfs: Change timespec data types to use vfs_time
fs: ceph: Change encode and decode functions to use vfs_time
fs: ceph: Replace timespec data type with vfs_time
net: ceph: use vfs_time data type instead of timespec
fs: xfs: change inode times to use vfs_time data type
fs/btrfs/btrfs_inode.h | 2 +-
fs/btrfs/file.c | 6 +++---
fs/btrfs/inode.c | 2 +-
fs/btrfs/ioctl.c | 4 ++--
fs/btrfs/root-tree.c | 2 +-
fs/btrfs/transaction.c | 2 +-
fs/ceph/cache.c | 2 +-
fs/ceph/caps.c | 6 +++---
fs/ceph/dir.c | 4 ++--
fs/ceph/file.c | 6 +++---
fs/ceph/inode.c | 32 ++++++++++++++++----------------
fs/ceph/mds_client.c | 2 +-
fs/ceph/mds_client.h | 2 +-
fs/ceph/super.h | 8 ++++----
fs/ceph/xattr.c | 2 +-
fs/cifs/cache.c | 4 ++--
fs/cifs/cifsencrypt.c | 4 ++--
fs/cifs/cifsglob.h | 6 +++---
fs/cifs/cifsproto.h | 6 +++---
fs/cifs/cifssmb.c | 10 +++++-----
fs/cifs/inode.c | 2 +-
fs/cifs/netmisc.c | 15 ++++++++-------
fs/xfs/xfs_inode.c | 2 +-
fs/xfs/xfs_iops.c | 2 +-
fs/xfs/xfs_trans_inode.c | 6 +++---
include/linux/ceph/decode.h | 11 ++++++-----
include/linux/ceph/messenger.h | 1 +
include/linux/ceph/osd_client.h | 4 ++--
include/linux/fs.h | 19 +++++++++++++++++++
net/ceph/osd_client.c | 2 +-
30 files changed, 99 insertions(+), 77 deletions(-)
--
1.9.1
Powered by blists - more mailing lists