diff --git a/.cvsignore b/.cvsignore index 3db5406..085752d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,4 @@ LVM2.2.02.33.tgz device-mapper.1.02.24.tgz +LVM2.2.02.38.tgz +device-mapper.1.02.26.tgz diff --git a/LVM2.2.02.33.tgz.asc b/LVM2.2.02.33.tgz.asc deleted file mode 100644 index 44fb4ab..0000000 --- a/LVM2.2.02.33.tgz.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.1 (GNU/Linux) - -iD8DBQBHocFJIoGRwVZ+LBcRAtT7AKDBctq/r8tAp0CNkNRkUB6P+9ChqgCgpmtf -m2gPLAzgsEIXk9PhJEU8IOU= -=uA2u ------END PGP SIGNATURE----- diff --git a/LVM2.2.02.38.tgz.asc b/LVM2.2.02.38.tgz.asc new file mode 100644 index 0000000..1c32933 --- /dev/null +++ b/LVM2.2.02.38.tgz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.1 (GNU/Linux) + +iD8DBQBIT8F0IoGRwVZ+LBcRAixZAJ0cSrOfcg8OLfPr7UjqrcHdKkJWjACdEhaI +8x/2xkfI7Lmmn0wRyuXkLT0= +=1NmK +-----END PGP SIGNATURE----- diff --git a/device-mapper.1.02.24.tgz.asc b/device-mapper.1.02.24.tgz.asc deleted file mode 100644 index ff5d0ad..0000000 --- a/device-mapper.1.02.24.tgz.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.1 (GNU/Linux) - -iD8DBQBHaobyIoGRwVZ+LBcRAjvnAJ9TWSa6m38MBX1CH2QEOxDZuFr72gCg7lY1 -4eUbGalWVFD1VsagSPWGofs= -=CzTL ------END PGP SIGNATURE----- diff --git a/device-mapper.1.02.26.tgz.asc b/device-mapper.1.02.26.tgz.asc new file mode 100644 index 0000000..99fa181 --- /dev/null +++ b/device-mapper.1.02.26.tgz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.1 (GNU/Linux) + +iD8DBQBISY4mIoGRwVZ+LBcRAqEWAKCRvnAr/83XJyDzv4cFS0MmxWf8MwCg3hFp +aCqXFmkPZZQUFf7OaqdvSXI= +=p+7f +-----END PGP SIGNATURE----- diff --git a/lvm2-limits-include.patch b/lvm2-limits-include.patch deleted file mode 100644 index cea1d0a..0000000 --- a/lvm2-limits-include.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rup LVM2.2.02.33.orig/daemons/clvmd/clvmd.c LVM2.2.02.33.new/daemons/clvmd/clvmd.c ---- LVM2.2.02.33.orig/daemons/clvmd/clvmd.c 2007-11-15 05:16:14.000000000 -0500 -+++ LVM2.2.02.33.new/daemons/clvmd/clvmd.c 2008-04-02 14:40:13.000000000 -0400 -@@ -38,6 +38,7 @@ - #include - #include - #include -+#include - - #include "clvmd-comms.h" - #include "lvm-functions.h" diff --git a/lvm2-vio-disk.patch b/lvm2-vio-disk.patch deleted file mode 100644 index 5bd782e..0000000 --- a/lvm2-vio-disk.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up LVM2.2.02.33/lib/filters/filter.c.vio LVM2.2.02.33/lib/filters/filter.c ---- LVM2.2.02.33/lib/filters/filter.c.vio 2008-03-05 10:47:06.000000000 -0500 -+++ LVM2.2.02.33/lib/filters/filter.c 2008-03-05 10:49:43.000000000 -0500 -@@ -77,6 +77,7 @@ static const device_info_t device_info[] - {"xvd", 16}, /* Xen virtual block device */ - {"vdisk", 8}, /* SUN's LDOM virtual block device */ - {"ps3disk", 16}, /* PlayStation 3 internal disk */ -+ {"virtblk", 8}, /* VirtIO disk */ - {NULL, 0} - }; - diff --git a/lvm2.spec b/lvm2.spec index ad3755c..4f61306 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -1,20 +1,18 @@ -%define device_mapper_version 1.02.24 +%define device_mapper_version 1.02.26 # Do not reset Release to 1 unless both lvm2 and device-mapper # versions are increased together. Summary: Userland logical volume management tools Name: lvm2 -Version: 2.02.33 -Release: 11%{?dist} +Version: 2.02.38 +Release: 1%{?dist} License: GPLv2 Group: System Environment/Base URL: http://sources.redhat.com/lvm2 Source0: LVM2.%{version}.tgz Source1: device-mapper.%{device_mapper_version}.tgz Patch0: cluster-locking-built-in.patch -Patch1: lvm2-vio-disk.patch -Patch2: lvm2-limits-include.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel BuildRequires: ncurses-devel @@ -38,8 +36,6 @@ or more physical volumes and creating one or more logical volumes %setup -q -n LVM2.%{version} %setup -q -T -D -a 1 -n LVM2.%{version} %patch -p1 -b .locking -%patch1 -p1 -%patch2 -p1 %build cd device-mapper.%{device_mapper_version} @@ -271,6 +267,93 @@ This package contains the device-mapper shared library, libdevmapper. %changelog +* Fri Jun 13 2008 Alasdair Kergon > - 2.02.38-1 +- libdevmapper: Make dm_hash_iter safe against deletion. +- libdevmapper: Accept a NULL pointer to dm_free silently. +- libdevmapper: Calculate string size within dm_pool_grow_object. +- libdevmapper: Send reporting field help text to stderr not stdout. + +- dmsetup: Add tables_loaded, readonly and suspended columns to reports. +- dmsetup: Add --nameprefixes for new report output format FIELD=VALUE. + +- Add --nameprefixes to reporting tools for field name prefix output format. +- Fix return values for reporting commands when run with no PVs, LVs, or VGs. +- Add omitted unlock_vg() call when sigint_caught() during vg processing. +- Fix free_count when reading pool metadata. +- Fix segfault when using pvcreate on a device containing pool metadata. +- In script-processing mode, stop if any command fails. +- Warn if command exits with non-zero status code without a prior log_error. +- Correct config file line numbers in messages when parsing comments. +- Add missing deactivation after activation failure in lvcreate -Zy. +- When removing LV symlinks, skip any where the VG name is not determined. +- Fix vgsplit internal counting of snapshot LVs. +- Update vgsplit to only restrict split with active LVs involved in split. +- Fix vgsplit to only move hidden 'snapshotN' LVs when necessary. +- Update vgsplit man page to reflect lvnames on the cmdline. +- Update vgsplit to take "-n LogicalVolumeName" on the cmdline. +- Fix vgsplit error paths to release vg_to lock. +- Avoid spurious duplicate VG messages referring to VGs that are gone. +- Drop dev_name_confirmed error message to debug level. +- Fix setpriority error message to signed int. +- Add assertions to trap deprecated P_ and V_ lock usage. +- Avoid using DLM locks with LCK_CACHE type P_ lock requests. +- Don't touch /dev in vgrename if activation is disabled. +- Exclude VG_GLOBAL from internal concurrent VG lock counter. +- Fix vgmerge snapshot_count when source VG contains snapshots. +- Fix internal LV counter when a snapshot is removed. +- Fix metadata corruption writing lvm1-formatted metadata with snapshots. +- Fix lvconvert -m0 allocatable space check. +- Don't attempt remote metadata backups of non-clustered VGs. +- Improve preferred_names lvm.conf example. +- Fix vgdisplay 'Cur LV' field to match lvdisplay output. +- Fix lv_count report field to exclude hidden LVs. +- Fix some pvmove error status codes. +- Indicate whether or not VG is clustered in vgcreate log message. +- Mention default --clustered setting in vgcreate man page. +- Fix vgreduce to use vg_split_mdas to check sufficient mdas remain. +- Update lvmcache VG lock state for all locking types now. +- Fix output if overriding command_names on cmdline. +- Add check to vg_commit() ensuring VG lock held before writing new VG metadata. +- Add validation of LV name to pvmove -n. +- Add some basic internal VG lock validation. +- Fix vgsplit internal counting of snapshot LVs. +- Update vgsplit to only restrict split with active LVs involved in split. +- Fix vgsplit to only move hidden 'snapshotN' LVs when necessary. +- Update vgsplit man page to reflect lvnames on the cmdline. +- Update vgsplit to take "-n LogicalVolumeName" on the cmdline. +- Fix vgsplit error paths to release vg_to lock. +- Fix vgsplit locking of new VG. +- Avoid erroneous vgsplit error message for new VG. +- Suppress duplicate message when lvresize fails because of invalid vgname. +- Cache VG metadata internally while VG lock is held. +- Fix redundant lvresize message if vg doesn't exist. +- Make clvmd-cman use a hash rather than an array for node updown info. +- Decode numbers in clvmd debugging output. +- Fix uninitialised mutex in clvmd if all daemons are not running at startup. +- Add config file overrides to clvmd when it reads the active LVs list. +- Make clvmd refresh the context correctly when lvm.conf is updated. +- Fix another allocation bug with clvmd and large node IDs. +- Fix uninitialised variable in clvmd that could cause odd hangs. +- Correct command name in lvmdiskscan man page. +- clvmd no longer crashes if it sees nodeids over 50. +- Fix potential deadlock in clvmd thread handling. +- Update usage message for clvmd. +- Fix clvmd man page not to print
and clarified debug options. +- Escape double quotes and backslashes in external metadata and config data. +- Correct a function name typo in _line_append error message. +- Fix resetting of MIRROR_IMAGE and VISIBLE_LV after removal of LV. +- Fix remove_layer_from_lv to empty the LV before removing it. +- Add missing no-longer-used segs_using_this_lv test to check_lv_segments. +- Fix lvconvert detection of mirror conversion in progress. +- Avoid automatic lvconvert polldaemon invocation when -R specified. +- Fix 'pvs -a' to detect VGs of PVs without metadata areas. +- Divide up internal orphan volume group by format type. +- Fix lvresize to support /dev/mapper prefix in the LV name. +- Fix lvresize to pass new size to fsadm when extending device. +- Fix unfilled parameter passed to fsadm from lvresize. +- Update fsadm to call lvresize if the partition size differs (with option -l). +- Fix fsadm to support VG/LV names. + * Wed Apr 2 2008 Jeremy Katz - 2.02.33-11 - Adjust for new name for vio disks (from danpb) - And fix the build (also from danpb) diff --git a/sources b/sources index c5fbe69..f250192 100644 --- a/sources +++ b/sources @@ -1,2 +1,4 @@ c33883f3db8185a987ad3c774c685861 LVM2.2.02.33.tgz 44420c94a412323da9d8b1ce21f2bebd device-mapper.1.02.24.tgz +274f8837033ea34919f009a8c396d83b LVM2.2.02.38.tgz +a97272ef6b439c99b64b213e30d18bbd device-mapper.1.02.26.tgz diff --git a/upstream b/upstream index 3db5406..df6610b 100644 --- a/upstream +++ b/upstream @@ -1,2 +1,2 @@ -LVM2.2.02.33.tgz -device-mapper.1.02.24.tgz +LVM2.2.02.38.tgz +device-mapper.1.02.26.tgz