xfs
[Top] [All Lists]

[PATCH] (resend) xfsprogs: make lazy-count=1 the default.

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] (resend) xfsprogs: make lazy-count=1 the default.
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Tue, 01 Dec 2009 13:34:27 -0600
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
With the xfstests fixed up, we should be able to do this now.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---

Index: xfsprogs-2.10.2/mkfs/xfs_mkfs.c
===================================================================
--- xfsprogs-2.10.2.orig/mkfs/xfs_mkfs.c
+++ xfsprogs-2.10.2/mkfs/xfs_mkfs.c
@@ -733,7 +733,7 @@ main(
        nodsflag = norsflag = 0;
        force_overwrite = 0;
        worst_freelist = 0;
-       lazy_sb_counters = 0;
+       lazy_sb_counters = 1;
        memset(&fsx, 0, sizeof(fsx));
 
        memset(&xi, 0, sizeof(xi));
Index: xfsprogs-2.10.2/man/man8/mkfs.xfs.8
===================================================================
--- xfsprogs-2.10.2.orig/man/man8/mkfs.xfs.8
+++ xfsprogs-2.10.2/man/man8/mkfs.xfs.8
@@ -455,9 +455,10 @@ counter values without needed to keep th
 This gives significant improvements in performance on some configurations.
 The default
 .I value
-is 0 (off) so you must specify
-.B lazy-count=1
-if you want to make use of this feature.
+is 1 (on) so you must specify
+.B lazy-count=0
+if you want to disable this feature for older kernels which don't support
+it.
 .RE
 .TP
 .BI \-n " naming_options"

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>