Skip to content

Deepa Dinamani linux-ext4 linux-fsdevel lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 6 repliesIn review
  2. v55 patches 7 repliesSuperseded
  3. v45 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v35 patches3 repliesSuperseded
v1 RFC6 patches0 repliesSuperseded

Changes in v6 from the cover letter

* Dropped y2038-specific changes

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vfs: Add file timestamp range supportfs/super.c include/linux/fs.h include/linux/time64.h+7 -00 replies
2/4ext4: Initialize timestamps limitsfs/ext4/ext4.h fs/ext4/super.c+10 -10 replies
3/4vfs: Add timestamp_truncate() apifs/inode.c+31 -16 replies
4/4utimes: Clamp the timestamps before updatefs/utimes.c+13 -40 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [PATCH v6 0/4]

The series is aimed at adding support to maintain individual timestamp ranges for filesystems. This helps futimens, utimensat and utimes syscalls to conform to POSIX defined behavior when the time being set is outside of the corresponding filesystem's supported limits.

The series was developed with discussions and guidance from Arnd Bergmann.

The original thread is at https://lkml.org/lkml/2016/11/2/294

I will be submitting follow up kernel patches to update all filesystems.
Currently ext4 is the only filesystem that reflects correct limits.

The branch is available at
https://github.com/deepa-hub/vfs.git refs/heads/range

Changes since v5:
* Dropped y2038-specific changes
Changes since v4:
* Added documentation for boot param
Changes since v3:
* Remove redundant initializations in libfs.c
* Change early_param to __setup similar to other root mount options.
* Fix documentation warning
Changes since v2:
* Introduce early boot param override for checks.
* Drop afs patch for timestamp limits.
Changes since v1:
* return EROFS on mount errors
* fix mtime copy/paste error in utimes

Deepa Dinamani (4):
vfs: Add file timestamp range support
ext4: Initialize timestamps limits
vfs: Add timestamp_truncate() api
utimes: Clamp the timestamps before update

 fs/ext4/ext4.h         |  4 ++++
 fs/ext4/super.c        |  7 ++++++-
 fs/inode.c             | 32 +++++++++++++++++++++++++++++++-
 fs/super.c             |  2 ++
 fs/utimes.c            | 17 +++++++++++++----
 include/linux/fs.h     |  3 +++
 include/linux/time64.h |  2 ++
 7 files changed, 61 insertions(+), 6 deletions(-)
Signature · 5 lines
2.14.1

Cc: "Theodore Ts'o" <[email protected]>
Cc: Andreas Dilger <[email protected]>
Cc: [email protected]