devel/lvm2 lvm2-vio-disk.patch,NONE,1.1 lvm2.spec,1.131,1.132

Jeremy Katz (katzj) fedora-extras-commits at redhat.com
Wed Mar 5 15:54:10 UTC 2008


Author: katzj

Update of /cvs/pkgs/devel/lvm2
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9304

Modified Files:
	lvm2.spec 
Added Files:
	lvm2-vio-disk.patch 
Log Message:
* Wed Mar  5 2008 Jeremy Katz <katzj at redhat.com> - 2.02.33-10
- recognize vio disks


lvm2-vio-disk.patch:

--- NEW FILE lvm2-vio-disk.patch ---
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 */
+	{"vd", 8},              /* VirtIO disk */
 	{NULL, 0}
 };
 


Index: lvm2.spec
===================================================================
RCS file: /cvs/pkgs/devel/lvm2/lvm2.spec,v
retrieving revision 1.131
retrieving revision 1.132
diff -u -r1.131 -r1.132
--- lvm2.spec	31 Jan 2008 12:44:02 -0000	1.131
+++ lvm2.spec	5 Mar 2008 15:53:33 -0000	1.132
@@ -6,13 +6,14 @@
 Summary: Userland logical volume management tools 
 Name: lvm2
 Version: 2.02.33
-Release: 9%{?dist}
+Release: 10%{?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
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
 BuildRequires: ncurses-devel
@@ -36,6 +37,7 @@
 %setup -q -n LVM2.%{version}
 %setup -q -T -D -a 1 -n LVM2.%{version}
 %patch -p1 -b .locking
+%patch1 -p1 
 
 %build
 cd device-mapper.%{device_mapper_version}
@@ -267,6 +269,9 @@
 
 
 %changelog
+* Wed Mar  5 2008 Jeremy Katz <katzj at redhat.com> - 2.02.33-10
+- recognize vio disks
+
 * Thu Jan 31 2008 Alasdair Kergon <agk at redhat.com>> - 2.02.33-9
 - Improve internal label caching performance while locks are held.
 - Fix mirror log name construction during lvconvert.




More information about the fedora-extras-commits mailing list