public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [REVIEW] Don't make lazy counters default for mkfs
@ 2008-02-28  1:09 Barry Naujok
  2008-02-28  2:35 ` Nathan Scott
  2008-03-02 10:26 ` Andi Kleen
  0 siblings, 2 replies; 22+ messages in thread
From: Barry Naujok @ 2008-02-28  1:09 UTC (permalink / raw)
  To: xfs@oss.sgi.com

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

Lazy superblock counters was released into mainline in 2.6.23-rc1. Some  
distros are still running an older kernel (2.6.22 for example) and with  
the latest xfsprogs, cannot mount a freshly made filesystem with default  
options.

This patch make lazy counters default back to off now.

Users who have a more recent kernel can easily enable them with mkfs or  
xfs_admin -c1 (in a patch posted out a few days ago which will be in the  
same xfsprogs release as this patch).

Lazy counters will default to on again in xfsprogs 2.10.0 (when CI support  
is released). This should give enough time for distro kernels to catch up.

Barry.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: default_lazycount_off.patch --]
[-- Type: text/x-patch; name=default_lazycount_off.patch, Size: 440 bytes --]

Index: ci/xfsprogs/mkfs/xfs_mkfs.c
===================================================================
--- ci.orig/xfsprogs/mkfs/xfs_mkfs.c	2008-02-28 12:02:55.000000000 +1100
+++ ci/xfsprogs/mkfs/xfs_mkfs.c	2008-02-28 12:04:17.288809770 +1100
@@ -730,7 +730,7 @@
 	nodsflag = norsflag = 0;
 	force_overwrite = 0;
 	worst_freelist = 0;
-	lazy_sb_counters = 1;
+	lazy_sb_counters = 0;
 	bzero(&fsx, sizeof(fsx));
 
 	bzero(&xi, sizeof(xi));

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2008-03-03  4:48 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-28  1:09 [REVIEW] Don't make lazy counters default for mkfs Barry Naujok
2008-02-28  2:35 ` Nathan Scott
2008-02-29 21:21   ` Russell Cattelan
2008-02-29 23:11     ` Eric Sandeen
2008-02-29 23:19       ` Russell Cattelan
2008-02-29 23:47         ` Mark Goodwin
2008-02-29 23:56           ` Eric Sandeen
2008-03-01  0:11             ` Eric Sandeen
2008-03-02 23:59               ` Barry Naujok
2008-03-01  0:02           ` Josef 'Jeff' Sipek
2008-03-02 23:34         ` Nathan Scott
2008-03-03  0:16           ` Timothy Shimmin
2008-03-03  0:30             ` Mark Goodwin
2008-03-03  1:15               ` Josef 'Jeff' Sipek
2008-03-03  3:56                 ` Eric Sandeen
2008-03-03  4:14                   ` Josef 'Jeff' Sipek
2008-03-03  4:19                     ` Eric Sandeen
2008-03-03  4:47               ` Niv Sardi
2008-03-03  0:18           ` Donald Douwsma
2008-03-03  0:24             ` Nathan Scott
2008-03-02 10:26 ` Andi Kleen
2008-03-02 10:41   ` Josef 'Jeff' Sipek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox