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

Chaitanya Kulkarni ckulkarnilinux at gmail.com
Mon Dec 22 21:33:04 PST 2025


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 at lst.de>
> Reviewed-by: Jan Kara<jack at suse.cz>
> Reviewed-by: Jeff Layton<jlayton at kernel.org>


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck





More information about the linux-mtd mailing list