]> err.no Git - linux-2.6/commit
[XFS] write barrier support Issue all log sync operations as ordered
authorChristoph Hellwig <hch@sgi.com>
Tue, 1 Nov 2005 23:26:59 +0000 (10:26 +1100)
committerNathan Scott <nathans@sgi.com>
Tue, 1 Nov 2005 23:26:59 +0000 (10:26 +1100)
commitf538d4da8d521746ca5ebf8c1a8105eb49bfb45e
tree5516e1d2df01e412709284e379085b348122c501
parent739cafd316235fc55463849e80710f2ca308b9ae
[XFS] write barrier support  Issue all log sync operations as ordered
writes.  In addition flush the disk cache on fsync if the sync cached
operation didn't sync the log to disk (this requires some additional
bookeping in the transaction and log code). If the device doesn't claim to
support barriers, the filesystem has an extern log volume or the trial
superblock write with barriers enabled failed we disable barriers and
print a warning.  We should probably fail the mount completely, but that
could lead to nasty boot failures for the root filesystem.  Not enabled by
default yet, needs more destructive testing first.

SGI-PV: 912426
SGI-Modid: xfs-linux:xfs-kern:198723a

Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
12 files changed:
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_super.h
fs/xfs/xfs_clnt.h
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h
fs/xfs/xfs_vfsops.c
fs/xfs/xfs_vnodeops.c