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.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Wed Aug 6 14:50:29 AEST 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-mm
Inspected by:
hch
lachlan
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:31827a
fs/xfs/linux-2.6/xfs_iops.c - 1.298 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.298&r2=text&tr2=1.297&f=h
- optimize xfs_ichgtime
|