Hello community, here is the log from the commit of package multipath-tools checked in at Mon Apr 10 16:42:17 CEST 2006. -------- --- multipath-tools/multipath-tools.changes 2006-03-29 09:28:32.000000000 +0200 +++ STABLE/multipath-tools/multipath-tools.changes 2006-04-10 09:49:07.000000000 +0200 @@ -1,0 +2,11 @@ +Mon Apr 10 09:48:16 CEST 2006 - hare@suse.de + +- Lowering priority for pp_tpc +- Split off DS6000 to fixup priority handler (#161347) + +------------------------------------------------------------------- +Wed Apr 5 12:14:53 CEST 2006 - hare@suse.de + +- Disable debug messages in pp_tpc. + +------------------------------------------------------------------- New: ---- multipath-tools-pp_tpc-disable-debug-output.patch multipath-tools-split-off-DS6000 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ multipath-tools.spec ++++++ --- /var/tmp/diff_new_pack.7SnBzJ/_old 2006-04-10 16:41:48.000000000 +0200 +++ /var/tmp/diff_new_pack.7SnBzJ/_new 2006-04-10 16:41:48.000000000 +0200 @@ -20,7 +20,7 @@ %endif Autoreqprov: on Version: 0.4.6 -Release: 16 +Release: 18 Summary: Tools to Manage Multipathed Devices with the device-mapper Source: multipath-tools-%{version}.tar.bz2 Source1: multipathd @@ -34,8 +34,10 @@ Patch2: multipath-tools-Makefile-cleanup.patch Patch3: multipath-tools-compile-fixes.patch Patch4: multipath-tools-ibm-3526-update +Patch5: multipath-tools-pp_tpc-disable-debug-output.patch Patch10: multipath-tools-online-device.patch Patch11: multipath-tools-no-gz-for-manpage +Patch12: %{name}-split-off-DS6000 %description This package provides the tools to manage multipathed devices by @@ -66,7 +68,9 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %patch11 -p1 +%patch12 -p1 %build make OPTFLAGS="$RPM_OPT_FLAGS" BUILD=glibc @@ -120,6 +124,11 @@ %{_mandir}/man8/mpath_prio_alua.8* %changelog -n multipath-tools +* Mon Apr 10 2006 - hare@suse.de +- Lowering priority for pp_tpc +- Split off DS6000 to fixup priority handler (#161347) +* Wed Apr 05 2006 - hare@suse.de +- Disable debug messages in pp_tpc. * Wed Mar 29 2006 - hare@suse.de - Explicitely create partitions at boot time (#159927) * Thu Mar 23 2006 - hare@suse.de ++++++ multipath-tools-pp_tpc-disable-debug-output.patch ++++++ diff --git a/path_priority/pp_tpc/pp_tpc.c b/path_priority/pp_tpc/pp_tpc.c index 76e7c47..a7ed7ad 100644 --- a/path_priority/pp_tpc/pp_tpc.c +++ b/path_priority/pp_tpc/pp_tpc.c @@ -62,18 +62,13 @@ int sgi_tpc_prio(const char *dev) goto out; } - if ( /* Auto-volume Transfer Enabled */ - (sense_buffer[8] & 0x80) != 0x80 ) { - fprintf(stderr, "Auto-volume Transfer not enabled"); - } - if ( /* Current Volume Path Bit */ ( sense_buffer[8] & 0x01) == 0x01 ) { /* * This volume was owned by the controller receiving * the inquiry command. */ - ret |= 0x02; + ret |= 0x01; } /* Volume Preferred Path Priority */ @@ -83,7 +78,7 @@ int sgi_tpc_prio(const char *dev) * Access to this volume is most preferred through * this path and other paths with this value. */ - ret |= 0x04; + ret |= 0x02; break; case 0x02: /* @@ -91,8 +86,7 @@ int sgi_tpc_prio(const char *dev) * as a secondary path. Typically this path would be used * for fail-over situations. */ - ret |= 0x01; - break; + /* Fallthrough */ default: /* Reserved values */ break; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...