rpms/xfsprogs/devel xfsprogs-3.0.1-mkfs-lazy-count-default.patch, NONE, 1.1 xfsprogs.spec, 1.60, 1.61

Eric Sandeen sandeen at fedoraproject.org
Tue Jun 16 16:00:01 UTC 2009


Author: sandeen

Update of /cvs/pkgs/rpms/xfsprogs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20441

Modified Files:
	xfsprogs.spec 
Added Files:
	xfsprogs-3.0.1-mkfs-lazy-count-default.patch 
Log Message:
* Mon Jun 15 2009 Eric Sandeen <sandeen at redhat.com> 3.0.1-6
- Make lazy superblock counters the default


xfsprogs-3.0.1-mkfs-lazy-count-default.patch:

--- NEW FILE xfsprogs-3.0.1-mkfs-lazy-count-default.patch ---
Not yet upstream but planned to be so.

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"


Index: xfsprogs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xfsprogs/devel/xfsprogs.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -p -r1.60 -r1.61
--- xfsprogs.spec	15 Jun 2009 19:41:38 -0000	1.60
+++ xfsprogs.spec	16 Jun 2009 15:59:31 -0000	1.61
@@ -1,7 +1,7 @@
 Summary:	Utilities for managing the XFS filesystem
 Name:		xfsprogs
 Version:	3.0.1
-Release:	5%{?dist}
+Release:	6%{?dist}
 # Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
 # in source, with no mention of version.
 # doc/COPYING file specifies what is GPL and what is LGPL
@@ -17,8 +17,11 @@ Provides:	xfs-cmds
 Obsoletes:	xfs-cmds <= %{version}
 Conflicts:	xfsdump < 3.0.1
 
+# These are upstream
 Patch0:		xfsprogs-3.0.1-readline.patch
 Patch1:		xfsprogs-3.0.1-fallocate.patch
+# This one, not yet
+Patch2:		xfsprogs-3.0.1-mkfs-lazy-count-default.patch
 
 %description
 A set of commands to use the XFS filesystem, including mkfs.xfs.
@@ -65,6 +68,7 @@ in building or running the xfstests QA s
 
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 export tagname=CC DEBUG=-DNDEBUG
@@ -191,6 +195,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/xfs/xfs_types.h
 
 %changelog
+* Mon Jun 15 2009 Eric Sandeen <sandeen at redhat.com> 3.0.1-6
+- Make lazy superblock counters the default
+
 * Mon Jun 15 2009 Eric Sandeen <sandeen at redhat.com> 3.0.1-5
 - Add fallocate command to config script & fix for 32-bit
 




More information about the fedora-extras-commits mailing list