linux/fs/overlayfs
Christoph Hellwig 85c871a02b
fs: add support for non-blocking timestamp updates
Currently file_update_time_flags unconditionally returns -EAGAIN if any
timestamp needs to be updated and IOCB_NOWAIT is passed.  This makes
non-blocking direct writes impossible on file systems with granular
enough timestamps.

Pass IOCB_NOWAIT to ->update_time and return -EAGAIN if it could block.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260108141934.2052404-9-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
History 2026-01-12 14:01:33 +01:00
..
copy_up.c vfs-6.19-rc1.directory.locking 2025-12-01 16:13:46 -08:00
dir.c ovl: pass original credentials, not mounter credentials during create 2025-12-05 16:16:20 -08:00
export.c VFS: rename lookup_one_len family to lookup_noperm and remove permission check 2025-04-08 11:24:36 +02:00
file.c ovl: port ovl_copyfile() to cred guard 2025-11-19 21:58:24 +01:00
inode.c fs: add support for non-blocking timestamp updates 2026-01-12 14:01:33 +01:00
Kconfig fs: prepare for stackable filesystems backing file helpers 2023-12-23 16:35:08 +02:00
Makefile ovl: Move xattr support to new xattrs.c file 2023-10-31 00:12:59 +02:00
namei.c ovl: port ovl_lower_positive() to cred guard 2025-11-19 21:58:25 +01:00
overlayfs.h fs: refactor ->update_time handling 2026-01-12 14:01:32 +01:00
ovl_entry.h ovl: Prepare for mounting case-insensitive enabled layers 2025-09-23 12:29:35 +02:00
params.c ovl: Prepare for mounting case-insensitive enabled layers 2025-09-23 12:29:35 +02:00
params.h ovl: Prepare for mounting case-insensitive enabled layers 2025-09-23 12:29:35 +02:00
readdir.c ovl: port ovl_check_empty_dir() to cred guard 2025-11-19 21:58:23 +01:00
super.c fuse update for 6.19 2025-12-05 15:25:13 -08:00
util.c vfs-6.19-rc1.ovl 2025-12-01 16:31:21 -08:00
xattrs.c ovl: port ovl_listxattr() to cred guard 2025-11-19 21:58:24 +01:00