linux/fs
Jeff Layton e44df26647
xfs: switch to multigrain timestamps
Enable multigrain timestamps, which should ensure that there is an
apparent change to the timestamp whenever it has been written after
being actively observed via getattr.

Also, anytime the mtime changes, the ctime must also change, and those
are now the only two options for xfs_trans_ichgtime. Have that function
unconditionally bump the ctime, and ASSERT that XFS_ICHGTIME_CHG is
always set.

Acked-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Message-Id: <20230807-mgctime-v7-11-d1dec143a704@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-08-11 09:04:57 +02:00
..
9p fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
adfs adfs: convert to ctime accessor functions 2023-07-13 10:28:03 +02:00
affs affs: convert to ctime accessor functions 2023-07-13 10:28:03 +02:00
afs fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
autofs autofs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
befs befs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
bfs bfs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
btrfs fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
cachefiles v6.5/vfs.file 2023-06-26 10:14:36 -07:00
ceph fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
coda fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
configfs configfs: convert to ctime accessor functions 2023-07-13 10:28:05 +02:00
cramfs cramfs: convert to ctime accessor functions 2023-07-13 10:28:05 +02:00
crypto fscrypt: Replace 1-element array with flexible array 2023-05-23 19:46:09 -07:00
debugfs debugfs: convert to ctime accessor functions 2023-07-13 10:28:05 +02:00
devpts devpts: convert to ctime accessor functions 2023-07-13 10:28:06 +02:00
dlm dlm for 6.5 2023-06-29 13:27:50 -07:00
ecryptfs fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
efivarfs efivarfs: convert to ctime accessor functions 2023-07-13 10:28:06 +02:00
efs efs: convert to ctime accessor functions 2023-07-13 10:28:06 +02:00
erofs fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
exfat fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
exportfs exportfs: add explicit flag to request non-decodeable file handles 2023-05-22 18:08:37 +02:00
ext2 fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
ext4 fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
f2fs fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
fat fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
freevxfs freevxfs: convert to ctime accessor functions 2023-07-24 10:29:59 +02:00
fscache
fuse fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
gfs2 fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
hfs hfs: convert to ctime accessor functions 2023-07-24 10:29:59 +02:00
hfsplus fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
hostfs hostfs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
hpfs hpfs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
hugetlbfs hugetlbfs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
iomap New code for 6.5: 2023-07-02 11:14:54 -07:00
isofs isofs: convert to ctime accessor functions 2023-07-24 10:30:00 +02:00
jbd2 Various cleanups and bug fixes in ext4's extent status tree, 2023-06-29 13:18:36 -07:00
jffs2 jffs2: convert to ctime accessor functions 2023-07-24 10:30:01 +02:00
jfs jfs: convert to ctime accessor functions 2023-07-24 10:30:01 +02:00
kernfs fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
lockd NFS client updates for Linux 6.5 2023-07-01 14:38:25 -07:00
minix fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
netfs Move netfs_extract_iter_to_sg() to lib/scatterlist.c 2023-06-08 13:42:33 +02:00
nfs fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
nfs_common
nfsd nfsd: convert to ctime accessor functions 2023-07-24 10:30:01 +02:00
nilfs2 nilfs2: convert to ctime accessor functions 2023-07-24 10:30:02 +02:00
nls
notify fanotify: disallow mount/sb marks on kernel internal pseudo fs 2023-07-04 13:29:29 +02:00
ntfs ntfs: convert to ctime accessor functions 2023-07-24 10:30:02 +02:00
ntfs3 fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
ocfs2 fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
omfs omfs: convert to ctime accessor functions 2023-07-24 10:30:02 +02:00
openpromfs openpromfs: convert to ctime accessor functions 2023-07-24 10:30:03 +02:00
orangefs fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
overlayfs fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
proc fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
pstore pstore: convert to ctime accessor functions 2023-07-24 10:30:03 +02:00
qnx4 qnx4: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
qnx6 qnx6: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
quota quota: fix warning in dqgrab() 2023-06-05 16:50:30 +02:00
ramfs ramfs: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
reiserfs reiserfs: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
romfs romfs: convert to ctime accessor functions 2023-07-24 10:30:04 +02:00
smb fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
squashfs squashfs: convert to ctime accessor functions 2023-07-24 10:30:05 +02:00
sysfs sysfs: Skip empty folders creation 2023-06-15 13:37:53 +02:00
sysv fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
tracefs tracefs: convert to ctime accessor functions 2023-07-24 10:30:05 +02:00
ubifs fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
udf fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
ufs ufs: convert to ctime accessor functions 2023-07-24 10:30:06 +02:00
unicode
vboxsf fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
verity fsverity: improve documentation for builtin signature support 2023-06-20 22:47:55 -07:00
xfs xfs: switch to multigrain timestamps 2023-08-11 09:04:57 +02:00
zonefs zonefs: convert to ctime accessor functions 2023-07-24 10:30:06 +02:00
aio.c fs/aio: Stop allocating aio rings from HIGHMEM 2023-06-15 09:22:23 +02:00
anon_inodes.c
attr.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
bad_inode.c fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
binfmt_elf_fdpic.c binfmt: Slightly simplify elf_fdpic_map_file() 2023-05-30 15:49:46 -07:00
binfmt_elf_test.c
binfmt_elf.c Merge branch 'expand-stack' 2023-06-28 20:35:21 -07:00
binfmt_flat.c
binfmt_misc.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
binfmt_script.c
buffer.c \n 2023-06-29 13:39:51 -07:00
char_dev.c vfs: Replace all non-returning strlcpy with strscpy 2023-05-15 09:42:01 +02:00
compat_binfmt_elf.c
coredump.c v6.5/vfs.misc 2023-06-26 09:50:21 -07:00
d_path.c fs: d_path: include internal.h 2023-05-17 09:16:59 +02:00
dax.c dax: enable dax fault handler to report VM_FAULT_HWPOISON 2023-06-26 07:54:23 -06:00
dcache.c
direct-io.c - Yosry Ahmed brought back some cgroup v1 stats in OOM logs. 2023-06-28 10:28:11 -07:00
drop_caches.c
eventfd.c eventfd: show the EFD_SEMAPHORE flag in fdinfo 2023-06-15 09:22:23 +02:00
eventpoll.c v6.5/vfs.misc 2023-06-26 09:50:21 -07:00
exec.c \n 2023-06-29 13:31:44 -07:00
fcntl.c
fhandle.c fsnotify: move fsnotify_open() hook into do_dentry_open() 2023-06-12 10:43:45 +02:00
file_table.c fs: move cleanup from init_file() into its callers 2023-07-02 13:15:49 +02:00
file.c
filesystems.c
fs_context.c fs: avoid empty option when generating legacy mount string 2023-06-07 21:49:55 +02:00
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fs-writeback.c writeback: move wb_over_bg_thresh() call outside lock section 2023-06-09 16:25:14 -07:00
fsopen.c
init.c
inode.c fs: add infrastructure for multigrain timestamps 2023-08-11 09:04:57 +02:00
internal.h v6.5/vfs.file 2023-06-26 10:14:36 -07:00
ioctl.c
Kconfig smb: move client and server files to common directory fs/smb 2023-05-24 16:29:21 -05:00
Kconfig.binfmt
kernel_read_file.c
libfs.c fs: pass the request_mask to generic_fillattr 2023-08-09 08:56:36 +02:00
locks.c
Makefile for-6.5/block-2023-06-23 2023-06-26 12:47:20 -07:00
mbcache.c
mnt_idmapping.c
mount.h
mpage.c mpage: use folios in bio end_io handler 2023-04-18 16:30:02 -07:00
namei.c fs: no need to check source 2023-07-04 10:20:29 +02:00
namespace.c v6.5/vfs.mount 2023-06-26 10:27:04 -07:00
nsfs.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
open.c \n 2023-06-29 13:31:44 -07:00
pipe.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
pnode.c fs: allow to mount beneath top mount 2023-05-19 04:30:22 +02:00
pnode.h fs: allow to mount beneath top mount 2023-05-19 04:30:22 +02:00
posix_acl.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
proc_namespace.c tty, proc, kernfs, random: Use copy_splice_read() 2023-05-24 08:42:16 -06:00
read_write.c splice: Use filemap_splice_read() instead of generic_file_splice_read() 2023-05-24 08:42:17 -06:00
readdir.c readdir: Replace one-element arrays with flexible-array members 2023-06-21 09:06:59 +02:00
remap_range.c fs: use UB-safe check for signed addition overflow in remap_verify_area 2023-05-24 11:03:59 +02:00
select.c
seq_file.c
signalfd.c
splice.c Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
stack.c fs: convert to ctime accessor functions 2023-07-13 10:28:04 +02:00
stat.c fs: add infrastructure for multigrain timestamps 2023-08-11 09:04:57 +02:00
statfs.c statfs: enforce statfs[64] structure initialization 2023-05-17 15:20:17 +02:00
super.c \n 2023-06-29 13:39:51 -07:00
sync.c
sysctls.c sysctl: Refactor base paths registrations 2023-05-23 21:43:26 -07:00
timerfd.c
userfaultfd.c Merge mm-hotfixes-stable into mm-stable to pick up depended-upon changes. 2023-06-23 16:58:19 -07:00
utimes.c
xattr.c fs: don't call posix_acl_listxattr in generic_listxattr 2023-05-17 15:25:20 +02:00