]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: log timestamp updates
authorChristoph Hellwig <hch@infradead.org>
Wed, 29 Feb 2012 09:53:52 +0000 (09:53 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 13 Mar 2012 22:01:15 +0000 (17:01 -0500)
commit7e846ee2fde7530cca3c8d66b155f99187d6fbf3
treedf976343a603bad7e6bdc20db31c64f752312434
parent08d88bee7aea4a6fbd1e9f51936e1b262f054dee
xfs: log timestamp updates

Timestamps on regular files are the last metadata that XFS does not update
transactionally.  Now that we use the delaylog mode exclusively and made
the log scode scale extremly well there is no need to bypass that code for
timestamp updates.  Logging all updates allows to drop a lot of code, and
will allow for further performance improvements later on.

Note that this patch drops optimized handling of fdatasync - it will be
added back in a separate commit.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
13 files changed:
fs/xfs/xfs_file.c
fs/xfs/xfs_iget.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_inode_item.h
fs/xfs/xfs_iops.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_super.c
fs/xfs/xfs_sync.c
fs/xfs/xfs_sync.h
fs/xfs/xfs_trace.h
fs/xfs/xfs_trans_inode.c