* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-6
- Make lazy superblock counters the default
This commit is contained in:
parent
b123039cf0
commit
faf2dc171c
33
xfsprogs-3.0.1-mkfs-lazy-count-default.patch
Normal file
33
xfsprogs-3.0.1-mkfs-lazy-count-default.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
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"
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Utilities for managing the XFS filesystem
|
Summary: Utilities for managing the XFS filesystem
|
||||||
Name: xfsprogs
|
Name: xfsprogs
|
||||||
Version: 3.0.1
|
Version: 3.0.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
|
# Licensing based on generic "GNU GENERAL PUBLIC LICENSE"
|
||||||
# in source, with no mention of version.
|
# in source, with no mention of version.
|
||||||
# doc/COPYING file specifies what is GPL and what is LGPL
|
# doc/COPYING file specifies what is GPL and what is LGPL
|
||||||
@ -17,8 +17,11 @@ Provides: xfs-cmds
|
|||||||
Obsoletes: xfs-cmds <= %{version}
|
Obsoletes: xfs-cmds <= %{version}
|
||||||
Conflicts: xfsdump < 3.0.1
|
Conflicts: xfsdump < 3.0.1
|
||||||
|
|
||||||
|
# These are upstream
|
||||||
Patch0: xfsprogs-3.0.1-readline.patch
|
Patch0: xfsprogs-3.0.1-readline.patch
|
||||||
Patch1: xfsprogs-3.0.1-fallocate.patch
|
Patch1: xfsprogs-3.0.1-fallocate.patch
|
||||||
|
# This one, not yet
|
||||||
|
Patch2: xfsprogs-3.0.1-mkfs-lazy-count-default.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A set of commands to use the XFS filesystem, including mkfs.xfs.
|
A set of commands to use the XFS filesystem, including mkfs.xfs.
|
||||||
@ -65,6 +68,7 @@ in building or running the xfstests QA suite.
|
|||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export tagname=CC DEBUG=-DNDEBUG
|
export tagname=CC DEBUG=-DNDEBUG
|
||||||
@ -191,6 +195,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/xfs/xfs_types.h
|
%{_includedir}/xfs/xfs_types.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-6
|
||||||
|
- Make lazy superblock counters the default
|
||||||
|
|
||||||
* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-5
|
* Mon Jun 15 2009 Eric Sandeen <sandeen@redhat.com> 3.0.1-5
|
||||||
- Add fallocate command to config script & fix for 32-bit
|
- Add fallocate command to config script & fix for 32-bit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user