]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: add a ->sync_lazytime method
authorChristoph Hellwig <hch@lst.de>
Thu, 8 Jan 2026 14:19:07 +0000 (15:19 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 13:01:33 +0000 (14:01 +0100)
commit5cf06ea56ee67209d4e9a0b381641fb062ecd2c3
tree14e081b4f62107425f38b354b343872b10999e3b
parent188344c8ac0b740ee2e5deebda2004b39ccbee74
fs: add a ->sync_lazytime method

Allow the file system to explicitly implement lazytime syncing instead
of pigging back on generic inode dirtying.  This allows to simplify
the XFS implementation and prepares for non-blocking lazytime timestamp
updates.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260108141934.2052404-8-hch@lst.de
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/locking.rst
Documentation/filesystems/vfs.rst
fs/fs-writeback.c
include/linux/fs.h