Skip to contentSkip to conversation

make lazy-count=1 the default

PATCH In review Eric Sandeen 3 participants 3 messages Apr 21, 2009 – Apr 23, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make lazy-count=1 the default

If folks think it's been out there long enough, let's make lazy-count=1 the mkfs default going forward?

---

mkfs/xfs_mkfs.c +1 -1
Index: 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));
man/man8/mkfs.xfs.8 +4 -3
Index: 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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 4 lines · Eric Sandeen

If folks think it's been out there long enough, let's make lazy-count=1 the mkfs default going forward?

Sounds good!

It may be worth mentioning the kernel version that introduced lazy-count in the manpage.

Josef 'Jeff' Sipek.

Signature · 10 lines
It used to be said [...] that AIX looks like one space alien discovered
Unix, and described it to another different space alien who then implemented
AIX. But their universal translators were broken and they'd had to gesture a
lot.
		- Paul Tomblin 

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs