rpms/lvm2/F-11 lvm2-2_02_48-cluster-cpg-new-api-reverse.patch, NONE, 1.1 .cvsignore, 1.65, 1.66 lvm2.spec, 1.157, 1.158 sources, 1.69, 1.70 upstream, 1.58, 1.59 LVM2.2.02.45.tgz.asc, 1.1, NONE lvm2-2_02_46-add-mmc-filter.patch, 1.1, NONE

Peter Rajnoha prajnoha at fedoraproject.org
Thu Jul 2 20:45:54 UTC 2009


Author: prajnoha

Update of /cvs/pkgs/rpms/lvm2/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19108

Modified Files:
	.cvsignore lvm2.spec sources upstream 
Added Files:
	lvm2-2_02_48-cluster-cpg-new-api-reverse.patch 
Removed Files:
	LVM2.2.02.45.tgz.asc lvm2-2_02_46-add-mmc-filter.patch 
Log Message:
New upstream release with various fixes.


lvm2-2_02_48-cluster-cpg-new-api-reverse.patch:

--- NEW FILE lvm2-2_02_48-cluster-cpg-new-api-reverse.patch ---
--- old/daemons/clvmd/clvmd-corosync.c	2009-06-03 15:42:02.000000000 +0200
+++ new/daemons/clvmd/clvmd-corosync.c	2009-07-02 21:11:40.000000000 +0200
@@ -56,16 +56,16 @@
 #define LOCKSPACE_NAME "clvmd"
 
 static void cpg_deliver_callback (cpg_handle_t handle,
-				  const struct cpg_name *groupName,
+				  struct cpg_name *groupName,
 				  uint32_t nodeid,
 				  uint32_t pid,
 				  void *msg,
-				  size_t msg_len);
+				  int msg_len);
 static void cpg_confchg_callback(cpg_handle_t handle,
-				 const struct cpg_name *groupName,
-				 const struct cpg_address *member_list, size_t member_list_entries,
-				 const struct cpg_address *left_list, size_t left_list_entries,
-				 const struct cpg_address *joined_list, size_t joined_list_entries);
+				 struct cpg_name *groupName,
+				 struct cpg_address *member_list, int member_list_entries,
+				 struct cpg_address *left_list, int left_list_entries,
+				 struct cpg_address *joined_list, int joined_list_entries);
 static void _cluster_closedown(void);
 
 /* Hash list of nodes in the cluster */
@@ -206,17 +206,17 @@
 }
 
 static void cpg_deliver_callback (cpg_handle_t handle,
-				  const struct cpg_name *groupName,
+				  struct cpg_name *groupName,
 				  uint32_t nodeid,
 				  uint32_t pid,
 				  void *msg,
-				  size_t msg_len)
+				  int msg_len)
 {
 	int target_nodeid;
 
 	memcpy(&target_nodeid, msg, COROSYNC_CSID_LEN);
 
-	DEBUGLOG("%u got message from nodeid %d for %d. len %zd\n",
+	DEBUGLOG("%u got message from nodeid %d for %d. len %d\n",
 		 our_nodeid, nodeid, target_nodeid, msg_len-4);
 
 	if (nodeid != our_nodeid)
@@ -226,15 +226,15 @@
 }
 
 static void cpg_confchg_callback(cpg_handle_t handle,
-				 const struct cpg_name *groupName,
-				 const struct cpg_address *member_list, size_t member_list_entries,
-				 const struct cpg_address *left_list, size_t left_list_entries,
-				 const struct cpg_address *joined_list, size_t joined_list_entries)
+				 struct cpg_name *groupName,
+				 struct cpg_address *member_list, int member_list_entries,
+				 struct cpg_address *left_list, int left_list_entries,
+				 struct cpg_address *joined_list, int joined_list_entries)
 {
 	int i;
 	struct node_info *ninfo;
 
-	DEBUGLOG("confchg callback. %zd joined, %zd left, %zd members\n",
+	DEBUGLOG("confchg callback. %d joined, %d left, %d members\n",
 		 joined_list_entries, left_list_entries, member_list_entries);
 
 	for (i=0; i<joined_list_entries; i++) {
@@ -580,7 +580,7 @@
 {
 	confdb_handle_t handle;
 	int result;
-	size_t namelen = buflen;
+	int namelen = buflen;
 	hdb_handle_t cluster_handle;
 	confdb_callbacks_t callbacks = {
 		.confdb_key_change_notify_fn = NULL,


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lvm2/F-11/.cvsignore,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -p -r1.65 -r1.66
--- .cvsignore	3 Mar 2009 18:15:39 -0000	1.65
+++ .cvsignore	2 Jul 2009 20:45:23 -0000	1.66
@@ -1 +1 @@
-LVM2.2.02.45.tgz
+LVM2.2.02.48.tgz


Index: lvm2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lvm2/F-11/lvm2.spec,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -p -r1.157 -r1.158
--- lvm2.spec	17 Apr 2009 10:43:47 -0000	1.157
+++ lvm2.spec	2 Jul 2009 20:45:24 -0000	1.158
@@ -1,4 +1,4 @@
-%define device_mapper_version 1.02.31
+%define device_mapper_version 1.02.33
 %define corosync_version 0.95-2
 %define clusterlib_version 3.0.0-12.alpha6
 
@@ -7,8 +7,8 @@
 
 Summary: Userland logical volume management tools 
 Name: lvm2
-Version: 2.02.45
-Release: 4%{?dist}
+Version: 2.02.48
+Release: 1%{?dist}
 License: GPLv2
 Group: System Environment/Base
 URL: http://sources.redhat.com/lvm2
@@ -16,7 +16,7 @@ Source0: ftp://sources.redhat.com/pub/lv
 
 # Customise lvmconf.sh for built-in clustered locking in Fedora
 Patch0: cluster-locking-built-in.patch
-Patch1: lvm2-2_02_46-add-mmc-filter.patch 
+Patch1: lvm2-2_02_48-cluster-cpg-new-api-reverse.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
@@ -42,7 +42,7 @@ or more physical volumes and creating on
 %prep
 %setup -q -n LVM2.%{version}
 %patch0 -p1 -b .locking
-%patch1 -p1 -b .mmc
+%patch1 -p1 -b .cpg
 
 %build
 %define _exec_prefix /
@@ -51,9 +51,7 @@ or more physical volumes and creating on
 %define _libdir /%{_lib}
 
 %configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-dmdir=device-mapper.%{device_mapper_version} --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig 
-make DESTDIR=$RPM_BUILD_ROOT
-#make %{?_smp_mflags}  - Needs fixing to use this - AGK ref. bz 226111.
-
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -110,6 +108,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_sbindir}/vgexport
 %{_sbindir}/vgextend
 %{_sbindir}/vgimport
+%{_sbindir}/vgimportclone
 %{_sbindir}/vgmerge
 %{_sbindir}/vgmknodes
 %{_sbindir}/vgreduce
@@ -154,6 +153,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/vgexport.8.gz
 %{_mandir}/man8/vgextend.8.gz
 %{_mandir}/man8/vgimport.8.gz
+%{_mandir}/man8/vgimportclone.8.gz
 %{_mandir}/man8/vgmerge.8.gz
 %{_mandir}/man8/vgmknodes.8.gz
 %{_mandir}/man8/vgreduce.8.gz
@@ -268,6 +268,91 @@ This package contains the device-mapper 
 
 
 %changelog
+* Thu Jul 2 2009 Peter Rajnoha <prajnoha at redhat.com> - 2.02.48-1
+- Abort if automatic metadata correction fails when reading VG to update it.
+- Don't fallback to default major number in libdm: use dm_task_set_major_minor.
+- Explicitly request fallback to default major number in device mapper.
+- Ignore suspended devices during repair.
+- Suggest using lvchange --resync when adding leg to not-yet-synced mirror.
+- Destroy toolcontext on clvmd exit to avoid memory pool leaks.
+- Fix lvconvert not to poll mirror if no conversion in progress.
+- Fix memory leaks in toolcontext error path.
+- Reinstate partial activation support in clustered mode.
+- Allow metadata correction even when PVs are missing.
+- Use 'lvm lvresize' instead of 'lvresize' in fsadm.
+- Do not use '-n' realine option in fsadm for rescue disk compatiblity.
+- Round up requested readahead to at least one page and print warning.
+- Try to repair vg before actual vgremove when force flag provided.
+- Unify error messages when processing inconsistent volume group.
+- Introduce lvconvert --use_policies (repair policy according to lvm.conf).
+- Fix rename of active snapshot with virtual origin.
+- Fix convert polling to ignore LV with different UUID.
+- Cache underlying device readahead only before activation calls.
+- Fix segfault when calculating readahead on missing device in vgreduce.
+- Remove verbose 'visited' messages.
+- Handle multi-extent mirror log allocation when smallest PV has only 1 extent.
+- Add LSB standard headers and functions (incl. reload) to clvmd initscript.
+- When creating new LV, double-check that name is not already in use.
+- Remove /dev/vgname/lvname symlink automatically if LV is no longer visible.
+- Rename internal vorigin LV to match visible LV.
+- Suppress 'removed' messages displayed when internal LVs are removed.
+- Fix lvchange -a and -p for sparse LVs.
+- Fix lvcreate --virtualsize to activate the new device immediately.
+- Make --snapshot optional with lvcreate --virtualsize.
+- Generalise --virtualoriginsize to --virtualsize.
+- Skip virtual origins in process_each_lv_in_vg() without --all.
+- Fix counting of virtual origin LVs in vg_validate.
+- Attempt to load dm-zero module if zero target needed but not present.
+- Add crypt target handling to libdevmapper tree nodes.
+- Add splitname command to dmsetup.
+- Add subsystem, vg_name, lv_name, lv_layer fields to dmsetup reports.
+- Make mempool optional in dm_split_lvm_name() in libdevmapper.
+- Inherit readahead setting from underlying devices during activation.
+- Detect LVs active on remote nodes by querying locks if supported.
+- Enable online resizing of mirrors.
+- Use suspend with flush when device size was changed during table preload.
+- Implement query_resource_fn for cluster_locking.
+- Support query_resource_fn in locking modules.
+- Fix pvmove to revert operation if temporary mirror creation fails.
+- Fix metadata export for VG with missing PVs.
+- Add vgimportclone and install it and the man page by default.
+- Force max_lv restriction only for newly created LV.
+- Do not query nonexistent devices for readahead.
+- Reject missing PVs from allocation in toollib.
+- Fix PV datalignment for values starting prior to MDA area. (2.02.45)
+- Add sparse devices: lvcreate -s --virtualoriginsize (hidden zero origin).
+- Fix minimum width of devices column in reports.
+- Add lvs origin_size field.
+- Implement lvconvert --repair for repairing partially-failed mirrors.
+- Fix vgreduce --removemissing failure exit code.
+- Fix remote metadata backup for clvmd.
+- Fix metadata backup to run after vg_commit always.
+- Fix pvs report for orphan PVs when segment attributes are requested.
+- Fix pvs -a output to not read volume groups from non-PV devices.
+- Introduce memory pools per volume group (to reduce memory for large VGs).
+- Always return exit error status when locking of volume group fails.
+- Fix mirror log convert validation question.
+- Enable use of cached metadata for pvs and pvdisplay commands.
+- Fix memory leak in mirror allocation code.
+- Save and restore the previous logging level when log level is changed.
+- Fix error message when archive initialization fails.
+- Make sure clvmd-corosync releases the lockspace when it exits.
+- Fix segfault for vgcfgrestore on VG with missing PVs.
+- Block SIGTERM & SIGINT in clvmd subthreads.
+- Detect and conditionally wipe swapspace signatures in pvcreate.
+- Fix maximal volume count check for snapshots if max_lv set for volume group.
+- Fix lvcreate to remove unused cow volume if the snapshot creation fails.
+- Fix error messages when PV uuid or pe_start reading fails.
+- Flush memory pool and fix locking in clvmd refresh and backup command.
+- Fix unlocks in clvmd-corosync. (2.02.45)
+- Fix error message when adding metadata directory to internal list fails.
+- Fix size and error message of memory allocation at backup initialization.
+- Remove old metadata backup file after renaming VG.
+- Restore log_suppress state when metadata backup file is up-to-date.
+- Export dm_tree_node_size_changed() from libdevmapper.
+- Fix segfault when getopt processes dmsetup -U, -G and -M options.
+- Add _smp_mflags to compilation and remove DESTDIR.
+
 * Fri Apr 17 2009 Milan Broz <mbroz at redhat.com> - 2.02.45-4
 - Add MMC (mmcblk) device type to filters. (483686)
 
@@ -306,7 +391,7 @@ This package contains the device-mapper 
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.02.44-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-* Tue Jan 27 2009 Alasdair Kergon <agk at redhat.com>> - 2.02.44-1
+* Tue Jan 27 2009 Alasdair Kergon <agk at redhat.com> - 2.02.44-1
 - Add --nameprefixes, --unquoted, --rows to pvs, vgs, lvs man pages.
 - Fix lvresize size conversion for fsadm when block size is not 1K.
 - Fix pvs segfault when run with orphan PV and some VG fields.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lvm2/F-11/sources,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -p -r1.69 -r1.70
--- sources	3 Mar 2009 18:15:40 -0000	1.69
+++ sources	2 Jul 2009 20:45:24 -0000	1.70
@@ -1 +1 @@
-440daa01b8f2ec4fe97b1cc621108220  LVM2.2.02.45.tgz
+0d24c2709f439eeca36261e5cea68330  LVM2.2.02.48.tgz


Index: upstream
===================================================================
RCS file: /cvs/pkgs/rpms/lvm2/F-11/upstream,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -p -r1.58 -r1.59
--- upstream	3 Mar 2009 18:15:40 -0000	1.58
+++ upstream	2 Jul 2009 20:45:24 -0000	1.59
@@ -1 +1 @@
-LVM2.2.02.45.tgz
+LVM2.2.02.48.tgz


--- LVM2.2.02.45.tgz.asc DELETED ---


--- lvm2-2_02_46-add-mmc-filter.patch DELETED ---




More information about the scm-commits mailing list