diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-01-08 15:19:07 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-01-12 14:01:33 +0100 |
| commit | 5cf06ea56ee67209d4e9a0b381641fb062ecd2c3 (patch) | |
| tree | 14e081b4f62107425f38b354b343872b10999e3b /include/linux | |
| parent | 188344c8ac0b740ee2e5deebda2004b39ccbee74 (diff) | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 77985b4ed6ff..9cce8b9a29ac 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2024,6 +2024,7 @@ struct inode_operations { u64 len); int (*update_time)(struct inode *inode, enum fs_update_time type, unsigned int flags); + void (*sync_lazytime)(struct inode *inode); int (*atomic_open)(struct inode *, struct dentry *, struct file *, unsigned open_flag, umode_t create_mode); |
