aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-02-13 07:06:34 -0500
committerAlex Elder <aelder@sgi.com>2011-02-22 21:33:25 -0500
commit20ad9ea9becd34a3c16252ca9d815f2c74f8f30f (patch)
tree384c15486152f422298139379dc8fc56c8f78d38
parentec3ba85f4083d10e32fe58b46db02d78ef71f6b8 (diff)
xfs: enable delaylog by default
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Alex Elder <aelder@sgi.com>
-rw-r--r--Documentation/filesystems/xfs-delayed-logging-design.txt7
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c1
2 files changed, 1 insertions, 7 deletions
diff --git a/Documentation/filesystems/xfs-delayed-logging-design.txt b/Documentation/filesystems/xfs-delayed-logging-design.txt
index 7445bf335dae..5282e3e51413 100644
--- a/Documentation/filesystems/xfs-delayed-logging-design.txt
+++ b/Documentation/filesystems/xfs-delayed-logging-design.txt
@@ -791,10 +791,3 @@ mount option. Fundamentally, there is no reason why the log manager would not
791be able to swap methods automatically and transparently depending on load 791be able to swap methods automatically and transparently depending on load
792characteristics, but this should not be necessary if delayed logging works as 792characteristics, but this should not be necessary if delayed logging works as
793designed. 793designed.
794
795Roadmap:
796
7972.6.39 Switch default mount option to use delayed logging
798 => should be roughly 12 months after initial merge
799 => enough time to shake out remaining problems before next round of
800 enterprise distro kernel rebases
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 9731898083ae..7ec1fb8c1316 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -189,6 +189,7 @@ xfs_parseargs(
189 mp->m_flags |= XFS_MOUNT_BARRIER; 189 mp->m_flags |= XFS_MOUNT_BARRIER;
190 mp->m_flags |= XFS_MOUNT_COMPAT_IOSIZE; 190 mp->m_flags |= XFS_MOUNT_COMPAT_IOSIZE;
191 mp->m_flags |= XFS_MOUNT_SMALL_INUMS; 191 mp->m_flags |= XFS_MOUNT_SMALL_INUMS;
192 mp->m_flags |= XFS_MOUNT_DELAYLOG;
192 193
193 /* 194 /*
194 * These can be overridden by the mount option parsing. 195 * These can be overridden by the mount option parsing.