aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-30 22:04:56 -0500
committerNathan Scott <nathans@sgi.com>2006-03-30 22:04:56 -0500
commit3bbcc8e3976f8bba2fd607c8850d7dfe7e332fda (patch)
tree8a0f20178f81d3df3c4aa79adcf3409d777d44f7
parent9a2a7de268f67fea0c450ed3e99a2d31f43d7166 (diff)
[XFS] Reenable write barriers by default.
SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:25634a Signed-off-by: Nathan Scott <nathans@sgi.com>
-rw-r--r--fs/xfs/xfs_vfsops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 89020c15d88a..f0e09ca14139 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -1700,8 +1700,9 @@ xfs_parseargs(
1700 int dsunit, dswidth, vol_dsunit, vol_dswidth; 1700 int dsunit, dswidth, vol_dsunit, vol_dswidth;
1701 int iosize; 1701 int iosize;
1702 1702
1703 args->flags2 |= XFSMNT2_COMPAT_IOSIZE;
1704 args->flags |= XFSMNT_IDELETE; 1703 args->flags |= XFSMNT_IDELETE;
1704 args->flags |= XFSMNT_BARRIER;
1705 args->flags2 |= XFSMNT2_COMPAT_IOSIZE;
1705 1706
1706 if (!options) 1707 if (!options)
1707 goto done; 1708 goto done;
@@ -1950,8 +1951,6 @@ xfs_showargs(
1950 seq_printf(m, "," MNTOPT_IKEEP); 1951 seq_printf(m, "," MNTOPT_IKEEP);
1951 if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE)) 1952 if (!(mp->m_flags & XFS_MOUNT_COMPAT_IOSIZE))
1952 seq_printf(m, "," MNTOPT_LARGEIO); 1953 seq_printf(m, "," MNTOPT_LARGEIO);
1953 if (mp->m_flags & XFS_MOUNT_BARRIER)
1954 seq_printf(m, "," MNTOPT_BARRIER);
1955 1954
1956 if (!(vfsp->vfs_flag & VFS_32BITINODES)) 1955 if (!(vfsp->vfs_flag & VFS_32BITINODES))
1957 seq_printf(m, "," MNTOPT_64BITINODE); 1956 seq_printf(m, "," MNTOPT_64BITINODE);