rpms/xfsprogs/F-7 xfsprogs-2.9.4-misc-mkfs-fixes.patch, NONE, 1.1 sources, 1.10, 1.11 xfsprogs-wrapper.h, 1.1, 1.2 xfsprogs.spec, 1.24, 1.25 xfsprogs-2.8.20-fix-type-test.patch, 1.1, NONE

Eric Sandeen (sandeen) fedora-extras-commits at redhat.com
Tue Oct 23 16:34:59 UTC 2007


Author: sandeen

Update of /cvs/pkgs/rpms/xfsprogs/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9575

Modified Files:
	sources xfsprogs-wrapper.h xfsprogs.spec 
Added Files:
	xfsprogs-2.9.4-misc-mkfs-fixes.patch 
Removed Files:
	xfsprogs-2.8.20-fix-type-test.patch 
Log Message:
* Tue Oct 02 2007 Eric Sandeen <sandeen at redhat.com> 2.9.4-3
- mkfs.xfs: Fix wiping old AG headers and purge whack buffers

* Mon Oct 01 2007 Eric Sandeen <sandeen at redhat.com> 2.9.4-2
- Add alpha to the multilib wrapper (#310411)

* Mon Sep 10 2007 Eric Sandeen <sandeen at redhat.com> 2.9.4-1
- Update to xfsprogs 2.9.4

* Fri Aug 24 2007 Eric Sandeen <sandeen at redhat.com> 2.9.3-3
- Add gawk to buildrequires

* Thu Aug 16 2007 Eric Sandeen <sandeen at redhat.com> 2.9.3-2
- Update license tag

* Thu Jul 26 2007 Eric Sandeen <sandeen at redhat.com> 2.9.3-1
- Upgrade to xfsprogs 2.9.2, quota, xfs_repair, and filestreams changes



xfsprogs-2.9.4-misc-mkfs-fixes.patch:

--- NEW FILE xfsprogs-2.9.4-misc-mkfs-fixes.patch ---
To: sgi.bugs.xfs at engr.sgi.com
Cc: xfs at oss.sgi.com
Subject: TAKE 970978 - Fix a couple mkfs.xfs issues
Date: Tue, 25 Sep 2007 13:52:54 +1000 (EST)
From: bnaujok at sgi.com (Barry Naujok)

Fix wiping old AG headers and purge whack buffers


Date:  Tue Sep 25 13:52:20 AEST 2007
Workarea:  chook.melbourne.sgi.com:/home/bnaujok/isms/xfs-cmds
Inspected by:  sandeen at sandeen.net

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/xfs-cmds/master-melb


Modid:  master-melb:xfs-cmds:29767a
xfsprogs/mkfs/xfs_mkfs.c - 1.82 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-cmds/xfsprogs/mkfs/xfs_mkfs.c.diff?r1=text&tr1=1.82&r2=text&tr2=1.81&f=h
	- Fix wiping old AG headers and purge whack buffers

--- xfsprogs/mkfs/xfs_mkfs.c	2007/07/16 03:56:15	1.81
+++ xfsprogs/mkfs/xfs_mkfs.c	2007/09/25 06:15:37	1.82
@@ -558,15 +558,12 @@ zero_old_xfs_structures(
 		goto done;
 
 	/*
-	 * block size and basic geometry seems alright, zero the secondaries,
-	 * but don't go beyond the end of the new filesystem.
+	 * block size and basic geometry seems alright, zero the secondaries.
 	 */
 	bzero(buf, new_sb->sb_sectsize);
 	off = 0;
 	for (i = 1; i < sb.sb_agcount; i++)  {
 		off += sb.sb_agblocks;
-		if (off >= new_sb->sb_dblocks)
-			break;
 		if (pwrite64(xi->dfd, buf, new_sb->sb_sectsize,
 					off << sb.sb_blocklog) == -1)
 			break;
@@ -2115,6 +2112,7 @@ an AG size that is one stripe unit small
 				    BTOBB(WHACK_SIZE));
 		bzero(XFS_BUF_PTR(buf), WHACK_SIZE);
 		libxfs_writebuf(buf, LIBXFS_EXIT_ON_FAILURE);
+		libxfs_purgebuf(buf);
 	}
 
 	/*



Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/xfsprogs/F-7/sources,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- sources	26 Jul 2007 19:51:20 -0000	1.10
+++ sources	23 Oct 2007 16:34:25 -0000	1.11
@@ -1 +1 @@
-a40b7d656c9ddb775c3f221433cbf08a  xfsprogs_2.8.21-1.tar.gz
+174683e3b86b587ed59823fdbbb96ea4  xfsprogs_2.9.4-1.tar.gz


Index: xfsprogs-wrapper.h
===================================================================
RCS file: /cvs/pkgs/rpms/xfsprogs/F-7/xfsprogs-wrapper.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xfsprogs-wrapper.h	5 Jul 2006 13:26:08 -0000	1.1
+++ xfsprogs-wrapper.h	23 Oct 2007 16:34:25 -0000	1.2
@@ -17,6 +17,8 @@
 #include "platform_defs-s390.h"
 #elif defined(__x86_64__)
 #include "platform_defs-x86_64.h"
+#elif defined(__alpha__)
+#include "platform_defs-alpha.h"
 #else
 #error "This xfsprogs-devel package does not work your architecture?"
 #endif


Index: xfsprogs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xfsprogs/F-7/xfsprogs.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- xfsprogs.spec	26 Jul 2007 19:51:20 -0000	1.24
+++ xfsprogs.spec	23 Oct 2007 16:34:25 -0000	1.25
@@ -1,21 +1,25 @@
 Summary: Utilities for managing the XFS filesystem
 Name: xfsprogs
-Version: 2.8.21
-Release: 1%{?dist}
-License: GPL
+Version: 2.9.4
+Release: 3%{?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
+# but no mention of versions in the source.
+License: GPL+ and LGPLv2+
 Group: System Environment/Base
 URL: http://oss.sgi.com/projects/xfs/
 Source0: ftp://oss.sgi.com/projects/xfs/download/cmd_tars/%{name}_%{version}-1.tar.gz
 Source1: xfsprogs-wrapper.h
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: autoconf, libtool, gettext
+BuildRequires: autoconf, libtool, gettext, gawk
 BuildRequires: readline-devel
 BuildRequires: /usr/include/uuid/uuid.h
 Provides: xfs-cmds
 Obsoletes: xfs-cmds <= %{version}
 Conflicts: xfsdump < 2.0.0
 
-Patch1: xfsprogs-2.8.20-fix-type-test.patch
+Patch1: xfsprogs-2.9.4-misc-mkfs-fixes.patch
 
 %description
 A set of commands to use the XFS filesystem, including mkfs.xfs.
@@ -46,9 +50,8 @@
 
 %prep
 %setup -q
-# Fix autoconf u32 test for ppc64
-%patch1 -p1 -b .type_test
-#
+%patch1 -p1
+
 %build
 # xfsprogs does not ship ./configure
 autoconf
@@ -111,6 +114,24 @@
 %{_libdir}/*.so
 
 %changelog
+* Tue Oct 02 2007 Eric Sandeen <sandeen at redhat.com> 2.9.4-3
+- mkfs.xfs: Fix wiping old AG headers and purge whack buffers
+
+* Mon Oct 01 2007 Eric Sandeen <sandeen at redhat.com> 2.9.4-2
+- Add alpha to the multilib wrapper (#310411)
+
+* Mon Sep 10 2007 Eric Sandeen <sandeen at redhat.com> 2.9.4-1
+- Update to xfsprogs 2.9.4
+
+* Fri Aug 24 2007 Eric Sandeen <sandeen at redhat.com> 2.9.3-3
+- Add gawk to buildrequires
+
+* Thu Aug 16 2007 Eric Sandeen <sandeen at redhat.com> 2.9.3-2
+- Update license tag
+
+* Thu Jul 26 2007 Eric Sandeen <sandeen at redhat.com> 2.9.3-1
+- Upgrade to xfsprogs 2.9.2, quota, xfs_repair, and filestreams changes
+
 * Thu Jul  6 2007 Eric Sandeen <sandeen at redhat.com> 2.8.21-1
 - Upgrade to xfsprogs 2.8.21, lazy sb counters enabled,
   xfs_quota fix (#236746)


--- xfsprogs-2.8.20-fix-type-test.patch DELETED ---




More information about the fedora-extras-commits mailing list