Re: [PATCH 03/11] fs: exit early in generic_update_time when there is no work

From: Chaitanya Kulkarni

Date: Tue Dec 23 2025 - 00:33:06 EST


On 12/22/25 16:37, Christoph Hellwig wrote:
Exit early if no attributes are to be updated, to avoid a spurious call
to __mark_inode_dirty which can turn into a fairly expensive no-op due to
the extra checks and locking.

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


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>

-ck