- recognize vio disks
This commit is contained in:
parent
72e3a3d38c
commit
919f2c0fee
11
lvm2-vio-disk.patch
Normal file
11
lvm2-vio-disk.patch
Normal file
@ -0,0 +1,11 @@
|
||||
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}
|
||||
};
|
||||
|
@ -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 @@ 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
|
||||
|
||||
%build
|
||||
cd device-mapper.%{device_mapper_version}
|
||||
@ -267,6 +269,9 @@ This package contains the device-mapper shared library, libdevmapper.
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 5 2008 Jeremy Katz <katzj@redhat.com> - 2.02.33-10
|
||||
- recognize vio disks
|
||||
|
||||
* Thu Jan 31 2008 Alasdair Kergon <agk@redhat.com>> - 2.02.33-9
|
||||
- Improve internal label caching performance while locks are held.
|
||||
- Fix mirror log name construction during lvconvert.
|
||||
|
Loading…
Reference in New Issue
Block a user