device-mapper-multipath-0.4.9-79
Add 0130-UPBZ-1254292-iscsi-targetname.patch * check for targetname iscsi sysfs value
This commit is contained in:
parent
fcd859f471
commit
cbf555a23c
17
0130-UPBZ-1254292-iscsi-targetname.patch
Normal file
17
0130-UPBZ-1254292-iscsi-targetname.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
libmultipath/discovery.c | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
Index: multipath-tools-130222/libmultipath/discovery.c
|
||||||
|
===================================================================
|
||||||
|
--- multipath-tools-130222.orig/libmultipath/discovery.c
|
||||||
|
+++ multipath-tools-130222/libmultipath/discovery.c
|
||||||
|
@@ -280,6 +280,8 @@ sysfs_get_tgt_nodename (struct path *pp,
|
||||||
|
const char *value;
|
||||||
|
|
||||||
|
value = udev_device_get_sysattr_value(tgtdev, "tgtname");
|
||||||
|
+ if (!value)
|
||||||
|
+ value = udev_device_get_sysattr_value(tgtdev, "targetname");
|
||||||
|
if (value) {
|
||||||
|
pp->sg_id.proto_id = SCSI_PROTOCOL_ISCSI;
|
||||||
|
pp->sg_id.transport_id = tgtid;
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Tools to manage multipath devices using device-mapper
|
Summary: Tools to manage multipath devices using device-mapper
|
||||||
Name: device-mapper-multipath
|
Name: device-mapper-multipath
|
||||||
Version: 0.4.9
|
Version: 0.4.9
|
||||||
Release: 78%{?dist}
|
Release: 79%{?dist}
|
||||||
License: GPL+
|
License: GPL+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://christophe.varoqui.free.fr/
|
URL: http://christophe.varoqui.free.fr/
|
||||||
@ -137,6 +137,7 @@ Patch0126: 0126-RHBZ-1211383-alias-collision.patch
|
|||||||
Patch0127: 0127-RHBZ-1201030-use-blk-availability.patch
|
Patch0127: 0127-RHBZ-1201030-use-blk-availability.patch
|
||||||
Patch0128: 0128-RHBZ-1222123-mpathconf-allow.patch
|
Patch0128: 0128-RHBZ-1222123-mpathconf-allow.patch
|
||||||
Patch0129: 0129-RHBZ-1241774-sun-partition-numbering.patch
|
Patch0129: 0129-RHBZ-1241774-sun-partition-numbering.patch
|
||||||
|
Patch0130: 0130-UPBZ-1254292-iscsi-targetname.patch
|
||||||
|
|
||||||
# runtime
|
# runtime
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
@ -319,6 +320,7 @@ kpartx manages partition creation and removal for device-mapper devices.
|
|||||||
%patch0127 -p1
|
%patch0127 -p1
|
||||||
%patch0128 -p1
|
%patch0128 -p1
|
||||||
%patch0129 -p1
|
%patch0129 -p1
|
||||||
|
%patch0130 -p1
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -420,6 +422,10 @@ fi
|
|||||||
%{_mandir}/man8/kpartx.8.gz
|
%{_mandir}/man8/kpartx.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 17 2015 Benjamin Marzinski <bmarzins@redhat.com> 0.4.9-79
|
||||||
|
- Add 0130-UPBZ-1254292-iscsi-targetname.patch
|
||||||
|
* check for targetname iscsi sysfs value
|
||||||
|
|
||||||
* Thu Aug 13 2015 Benjamin Marzinski <bmarzins@redhat.com> 0.4.9-78
|
* Thu Aug 13 2015 Benjamin Marzinski <bmarzins@redhat.com> 0.4.9-78
|
||||||
- fix triggerun issue and updated requires in spec file.
|
- fix triggerun issue and updated requires in spec file.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user