Re: [PATCH 08/11] fs: add support for non-blocking timestamp updates

From: Chaitanya Kulkarni

Date: Tue Dec 23 2025 - 00:38:31 EST


On 12/22/25 16:37, Christoph Hellwig wrote:
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.

Add a S_NOWAIT to ask for timestamps to not block, and return -EAGAIN in
all methods for now.

Signed-off-by: Christoph Hellwig<hch@xxxxxx>
Reviewed-by: Jeff Layton<jlayton@xxxxxxxxxx>

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck