* [PATCH] make lazy-count=1 the default
@ 2009-04-21 21:47 Eric Sandeen
2009-04-22 19:08 ` Josef 'Jeff' Sipek
2009-04-23 17:16 ` Christoph Hellwig
0 siblings, 2 replies; 3+ messages in thread
From: Eric Sandeen @ 2009-04-21 21:47 UTC (permalink / raw)
To: xfs mailing list
If folks think it's been out there long enough, let's make
lazy-count=1 the mkfs default going forward?
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
---
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@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] make lazy-count=1 the default
2009-04-21 21:47 [PATCH] make lazy-count=1 the default Eric Sandeen
@ 2009-04-22 19:08 ` Josef 'Jeff' Sipek
2009-04-23 17:16 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Josef 'Jeff' Sipek @ 2009-04-22 19:08 UTC (permalink / raw)
To: Eric Sandeen; +Cc: xfs mailing list
On Tue, Apr 21, 2009 at 04:47:09PM -0500, Eric Sandeen wrote:
> If folks think it's been out there long enough, let's make
> lazy-count=1 the mkfs default going forward?
>
> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Sounds good!
It may be worth mentioning the kernel version that introduced lazy-count in
the manpage.
Josef 'Jeff' Sipek.
--
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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] make lazy-count=1 the default
2009-04-21 21:47 [PATCH] make lazy-count=1 the default Eric Sandeen
2009-04-22 19:08 ` Josef 'Jeff' Sipek
@ 2009-04-23 17:16 ` Christoph Hellwig
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2009-04-23 17:16 UTC (permalink / raw)
To: Eric Sandeen; +Cc: xfs mailing list
On Tue, Apr 21, 2009 at 04:47:09PM -0500, Eric Sandeen wrote:
> If folks think it's been out there long enough, let's make
> lazy-count=1 the mkfs default going forward?
Yes, please put it in just after the 3.0.1 release we'll hopefully
put out ASAP.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-23 17:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 21:47 [PATCH] make lazy-count=1 the default Eric Sandeen
2009-04-22 19:08 ` Josef 'Jeff' Sipek
2009-04-23 17:16 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox