]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] optimize xfs_ichgtime
authorChristoph Hellwig <hch@infradead.org>
Wed, 13 Aug 2008 06:45:13 +0000 (16:45 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 13 Aug 2008 06:45:13 +0000 (16:45 +1000)
commitb869f96b5cbb463b7f2dfd3c6baea5c97e977ecd
treedef4ae55c36f02f920037b769a268f389c5b513a
parent143efee13337844f3298a7f0b3cc6a3edcf3b98a
[XFS] optimize xfs_ichgtime

Port a little optmization from file_update_time to xfs_ichgtime, and only
update the timestamp and mark the inode dirty if the timestamp actually
changes in the timer tick resultion supported by the running kernel.

SGI-PV: 981498

SGI-Modid: xfs-linux-melb:xfs-kern:31827a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c