Hello community,
here is the log from the commit of package multipath-tools
checked in at Wed May 3 13:04:14 CEST 2006.
--------
--- multipath-tools/multipath-tools.changes 2006-04-10 09:49:07.000000000 +0200
+++ STABLE/multipath-tools/multipath-tools.changes 2006-05-02 14:39:51.000000000 +0200
@@ -1,0 +2,10 @@
+Tue May 2 12:48:56 CEST 2006 - hare@suse.de
+
+- Merge in fixes from upstream
+ - Merged local patches
+ - Added hds_modular prioritizer
+- Remove merged patches
+- Allow for setting of maximum number of open files (#149979)
+- Implement 'stop' for init scripts
+
+-------------------------------------------------------------------
Old:
----
multipath-tools-Makefile-cleanup.patch
multipath-tools-compile-fixes.patch
multipath-tools-shark-update
New:
----
multipath-tools-remove-obsolete-option-from-manpage
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ multipath-tools.spec ++++++
--- /var/tmp/diff_new_pack.uHmXTH/_old 2006-05-03 13:02:44.000000000 +0200
+++ /var/tmp/diff_new_pack.uHmXTH/_new 2006-05-03 13:02:44.000000000 +0200
@@ -20,7 +20,7 @@
%endif
Autoreqprov: on
Version: 0.4.6
-Release: 18
+Release: 23
Summary: Tools to Manage Multipathed Devices with the device-mapper
Source: multipath-tools-%{version}.tar.bz2
Source1: multipathd
@@ -29,15 +29,13 @@
Source5: mpath_id
Source6: kpartx_del
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Patch0: multipath-tools-git-update.patch
-Patch1: multipath-tools-shark-update
-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
+Patch0: %{name}-git-update.patch
+Patch4: %{name}-ibm-3526-update
+Patch5: %{name}-pp_tpc-disable-debug-output.patch
+Patch10: %{name}-online-device.patch
+Patch11: %{name}-no-gz-for-manpage
Patch12: %{name}-split-off-DS6000
+Patch13: %{name}-remove-obsolete-option-from-manpage
%description
This package provides the tools to manage multipathed devices by
@@ -64,13 +62,11 @@
%prep
%setup -n multipath-tools-%{version}
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch11 -p1
%patch12 -p1
+%patch13 -p1
%build
make OPTFLAGS="$RPM_OPT_FLAGS" BUILD=glibc
@@ -116,6 +112,7 @@
/sbin/mpath_prio_alua
/sbin/mpath_prio_emc
/sbin/mpath_prio_tpc
+/sbin/mpath_prio_hds_modular
%attr (0700, root, root) /var/cache/multipath
%{_mandir}/man8/devmap_name.8*
%{_mandir}/man8/multipath.8*
@@ -124,6 +121,13 @@
%{_mandir}/man8/mpath_prio_alua.8*
%changelog -n multipath-tools
+* Tue May 02 2006 - hare@suse.de
+- Merge in fixes from upstream
+- Merged local patches
+- Added hds_modular prioritizer
+- Remove merged patches
+- Allow for setting of maximum number of open files (#149979)
+- Implement 'stop' for init scripts
* Mon Apr 10 2006 - hare@suse.de
- Lowering priority for pp_tpc
- Split off DS6000 to fixup priority handler (#161347)
++++++ boot.multipath ++++++
--- multipath-tools/boot.multipath 2006-03-29 09:22:20.000000000 +0200
+++ STABLE/multipath-tools/boot.multipath 2006-05-02 14:38:34.000000000 +0200
@@ -17,6 +17,9 @@
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PROGRAM=/sbin/multipath
+# Set the maximum number of open files
+MAX_OPEN_FDS=4096
+
test -x $PROGRAM || exit 5
# Shell functions sourced from /etc/rc.status:
@@ -50,22 +53,19 @@
case "$1" in
start)
echo -n "Creating multipath targets"
- # Check whether we should rescan for devices
- if grep -q multipath /proc/cmdline && test -d /sys/class/scsi_host; then
- pushd /sys/class/scsi_host 2> /dev/null
- for host in *; do
- if [ -d $host ]; then
- echo "- - -" > $host/scan
- fi
- done
- fi
+
# Load prerequisite module
modprobe dm-multipath
# Clear /dev/disk/by-name/ prior to start-up; multipath will
# recreate them.
rm -f /dev/disk/by-name/* 2>&1 >/dev/null
-
+
+ # Set the maximum number of open files
+ if [ -n "$MAX_OPEN_FDS" ] ; then
+ ulimit -n $MAX_OPEN_FDS
+ fi
+
# Start the program directly as checkproc doesn't work here
$PROGRAM -v 0
@@ -77,6 +77,15 @@
sleep 1
;;
stop)
+ # Remove all partition mappings
+ if dmsetup ls | grep -q -- -part; then
+ /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -d -p -part"
+ fi
+
+ # And remove the multipath mappings themselves
+ for map in $(/sbin/dmsetup ls --target multipath | cut -f 1); do
+ /sbin/dmsetup remove $map
+ done
;;
*)
echo "Usage: $0 {start|stop}"
++++++ multipath-tools-git-update.patch ++++++
++++ 3102 lines (skipped)
++++ between multipath-tools/multipath-tools-git-update.patch
++++ and STABLE/multipath-tools/multipath-tools-git-update.patch
++++++ multipath-tools-ibm-3526-update ++++++
--- multipath-tools/multipath-tools-ibm-3526-update 2006-03-22 13:55:48.000000000 +0100
+++ STABLE/multipath-tools/multipath-tools-ibm-3526-update 2006-05-02 12:47:01.000000000 +0200
@@ -1,12 +1,24 @@
+Subject: [PATCH] hwtable: add IBM 3526
+
+Adding support for IBM Netfinity FC RAID controller.
+
+Signed-off-by: Hannes Reinecke