Skip to content

afs: Migrate to 64-bit timekeeping

Tina Ruchandani lkml 1 version Applied

Status from this message: I've applied these to my branch.

Get series with b4
b4 am 20150129060507.GA3437@tinar

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2afs: Migrate vlocation fields to 64-bitfs/afs/callback.c fs/afs/internal.h fs/afs/server.c +1 more+20 -160 replies
2/2afs: Prevent callback expiry timer overflowfs/afs/fsclient.c fs/afs/inode.c fs/afs/internal.h+7 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] afs: Migrate to 64-bit timekeeping

This patchset is an attempt to port afs's timekeeping variables from time_t type to time64_t. AFS uses get_seconds to store real (wall clock) time in seconds. The time returned by get_seconds() will overflow on 32-bit systems in year 2106 and beyond.
This patchset replaces the usage with ktime_get_real_seconds. Fields that propagate to the inode (mtime_client, mtime_server, creation) remain untouched, as the inode timestamps are only 32bit.

Tina Ruchandani (2):
afs: Migrate vlocation fields to 64-bit
afs: Prevent callback expiry timer overflow

 fs/afs/callback.c  |  7 ++++---
 fs/afs/fsclient.c  |  2 +-
 fs/afs/inode.c     |  7 ++++---
 fs/afs/internal.h  | 11 ++++++-----
 fs/afs/server.c    |  6 +++---
 fs/afs/vlocation.c | 16 +++++++++-------
 6 files changed, 27 insertions(+), 22 deletions(-)
Signature · 1 line
2.2.0.rc0.207.ga3a616c