]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: enable non-blocking timestamp updates
authorChristoph Hellwig <hch@lst.de>
Thu, 8 Jan 2026 14:19:11 +0000 (15:19 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 13:01:33 +0000 (14:01 +0100)
commit08489c4f41333913c9be27a031b070f4452e9374
tree5bdf80a84c9fbdfb6332694d99269bc42da49508
parentf92f8eddbbfbf83b7263cbd995fb91256dbd4d71
xfs: enable non-blocking timestamp updates

The lazytime path using the generic helpers can never block in XFS
because there is no ->dirty_inode method that could block.  Allow
non-blocking timestamp updates for this case by replacing
generic_update_time with the open coded version without the S_NOWAIT
check.

Fixes: 66fa3cedf16a ("fs: Add async write file modification handling.")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260108141934.2052404-12-hch@lst.de
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_iops.c