xfs
[Top] [All Lists]

TAKE 981498 - update timestamp in xfs_ialloc manually

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 981498 - update timestamp in xfs_ialloc manually
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Wed, 6 Aug 2008 14:46:43 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
update timestamp in xfs_ialloc manually

In xfs_ialloc we just want to set all timestamps to the current time.
We don't need to mark the inode dirty like xfs_ichgtime does, and we
don't need nor want the opimizations in xfs_ichgtime that I will
introduce in the next patch.

So just opencode the timestamp update in xfs_ialloc, and remove the new
unused XFS_ICHGTIME_ACC case in xfs_ichgtime.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Wed Aug  6 14:44:59 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:31825a
fs/xfs/xfs_vnodeops.c - 1.772 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=text&tr1=1.772&r2=text&tr2=1.771&f=h
fs/xfs/xfs_inode.c - 1.517 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.c.diff?r1=text&tr1=1.517&r2=text&tr2=1.516&f=h
fs/xfs/xfs_inode.h - 1.256 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.h.diff?r1=text&tr1=1.256&r2=text&tr2=1.255&f=h
fs/xfs/linux-2.6/xfs_iops.c - 1.297 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.297&r2=text&tr2=1.296&f=h
        - update timestamp in xfs_ialloc manually




<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 981498 - update timestamp in xfs_ialloc manually, Lachlan McIlroy <=