]> Pileus Git - ~andy/linux/commitdiff
xfs: enable delaylog by default
authorChristoph Hellwig <hch@infradead.org>
Sun, 13 Feb 2011 12:06:34 +0000 (12:06 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 23 Feb 2011 02:33:25 +0000 (20:33 -0600)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Documentation/filesystems/xfs-delayed-logging-design.txt
fs/xfs/linux-2.6/xfs_super.c

index 7445bf335dae7eeba4bd6640a82fa3987f48d2cc..5282e3e5141310ac1b73c3dd28d192d020932d97 100644 (file)
@@ -791,10 +791,3 @@ mount option. Fundamentally, there is no reason why the log manager would not
 be able to swap methods automatically and transparently depending on load
 characteristics, but this should not be necessary if delayed logging works as
 designed.
-
-Roadmap:
-
-2.6.39 Switch default mount option to use delayed logging
-       => should be roughly 12 months after initial merge
-       => enough time to shake out remaining problems before next round of
-          enterprise distro kernel rebases
index 9731898083ae86ee79f546f372684ab5d03dbcc8..7ec1fb8c131645768db7351d566437c5661d773c 100644 (file)
@@ -189,6 +189,7 @@ xfs_parseargs(
        mp->m_flags |= XFS_MOUNT_BARRIER;
        mp->m_flags |= XFS_MOUNT_COMPAT_IOSIZE;
        mp->m_flags |= XFS_MOUNT_SMALL_INUMS;
+       mp->m_flags |= XFS_MOUNT_DELAYLOG;
 
        /*
         * These can be overridden by the mount option parsing.