From e3d86c8b5f141366635a7f49140f9282682ce8cfbfb6a2cca30140968cb0453b Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 13 Jul 2007 16:13:41 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=4 --- mdadm-2.6.1.tar.bz2 | 3 -- mdadm-2.6.2.tar.bz2 | 3 ++ mdadm-git-fixes.patch | 79 +++++++++++++++++++++++++++++++++++++++++++ mdadm.changes | 18 ++++++++++ mdadm.spec | 25 +++++++++++--- 5 files changed, 121 insertions(+), 7 deletions(-) delete mode 100644 mdadm-2.6.1.tar.bz2 create mode 100644 mdadm-2.6.2.tar.bz2 create mode 100644 mdadm-git-fixes.patch diff --git a/mdadm-2.6.1.tar.bz2 b/mdadm-2.6.1.tar.bz2 deleted file mode 100644 index c7b05c3..0000000 --- a/mdadm-2.6.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9028779f73bcfb55ad0e415de60557f68b2fd9a61d17e3bd07dd0d559f2cf02 -size 149000 diff --git a/mdadm-2.6.2.tar.bz2 b/mdadm-2.6.2.tar.bz2 new file mode 100644 index 0000000..3f9cc18 --- /dev/null +++ b/mdadm-2.6.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b026731babd23013277d7a0e087d2233ff044deb616c51851dc3adffaae32a55 +size 151082 diff --git a/mdadm-git-fixes.patch b/mdadm-git-fixes.patch new file mode 100644 index 0000000..345b443 --- /dev/null +++ b/mdadm-git-fixes.patch @@ -0,0 +1,79 @@ +Commit: bf40ab857fa3e4f8e98750f750f520a2e3ecc49f +Author: Neil Brown Wed, 11 Jul 2007 09:08:49 +1000 + + Typo in man page: Multipath has an L ... + +diff --git a/md.4 b/md.4 +index 7937b79..0076558 100644 +--- a/md.4 ++++ b/md.4 +@@ -256,7 +256,7 @@ copies, then there will be a total of 4 copies of each block, each on + a different drive. This is an artifact of the implementation and is + unlikely to be of real value. + +-.SS MUTIPATH ++.SS MULTIPATH + + MULTIPATH is not really a RAID at all as there is only one real device + in a MULTIPATH md array. However there are multiple access points + +Commit: 01d9299c1a1632b1be47dd6c9191b0e905928b2b +Author: Neil Brown Mon, 09 Jul 2007 09:59:42 +1000 + + Fix spare migration and other problems with --monitor. + + 2.6 broke --monitor in various ways, including spare migration + stopped working. This fixes it. + +diff --git a/Monitor.c b/Monitor.c +index ece6abb..9293637 100644 +--- a/Monitor.c ++++ b/Monitor.c +@@ -328,6 +328,7 @@ int Monitor(mddev_dev_t devlist, + for (i=0; i= 0) { + info[i].state = disc.state; + info[i].major = disc.major; +diff --git a/mdadm.8 b/mdadm.8 +index ce88d04..25a6758 100644 +--- a/mdadm.8 ++++ b/mdadm.8 +@@ -972,6 +972,8 @@ the right thing, then the array can be successfully assembled using + .TP + .BR \-X ", " \-\-examine\-bitmap + Report information about a bitmap file. ++The argument is either an external bitmap file or an array component ++in case of an internal bitmap. + + .TP + .BR \-R ", " \-\-run + +Commit: a328c097ff8016342ae336af92cabbc32bc8d1fd +Author: Neil Brown Tue, 22 May 2007 09:46:29 +1000 + + Fix compile error in Detail.c + + 'avail' is undefined if '--export', so make sure we don't try to use + it. + +diff --git a/Detail.c b/Detail.c +index 0ed81d1..7e14163 100644 +--- a/Detail.c ++++ b/Detail.c +@@ -377,12 +377,12 @@ This is pretty boring + + if (brief > 1 && devices) printf("\n devices=%s", devices); + if (brief) printf("\n"); +-out: + if (test && + !enough(array.level, array.raid_disks, array.layout, + 1, avail, avail_disks)) + rv = 2; + ++out: + close(fd); + return rv; + } diff --git a/mdadm.changes b/mdadm.changes index 2ee20e0..a0b2b0c 100644 --- a/mdadm.changes +++ b/mdadm.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Jul 13 15:02:21 CEST 2007 - mmarek@suse.cz + +- updated to 2.6.2 + * --fail detached and --remove faulty can be used to fail and + remove devices that are no longer physically present. + * --export option for --detail or present information in a format + that can be processed by udev. + * fix internal bitmap allocation problems with v1.1, v1.2 + metadata. + * --help now goes to stdout so you can direct it to a pager. + * Various manpage updates. + * Make "--grow --add" for linear arrays really work. + * --auto-detect to trigger in-kernel autodetect. + * Make return code for "--detail --test" more reliable. Missing + devices as well as failed devices cause an error. +- added some fixes from Neil's git repo (mdadm-git-fixes.patch) + ------------------------------------------------------------------- Thu Jun 21 15:58:37 CEST 2007 - adrian@suse.de diff --git a/mdadm.spec b/mdadm.spec index f10bf3c..21a2fc9 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,5 +1,5 @@ # -# spec file for package mdadm (Version 2.6.1) +# spec file for package mdadm (Version 2.6.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,14 +11,14 @@ # norootforbuild Name: mdadm -Version: 2.6.1 -Release: 16 +Version: 2.6.2 +Release: 1 BuildRequires: opensp sgmltool PreReq: %fillup_prereq %insserv_prereq Obsoletes: raidtools Autoreqprov: on Group: System/Base -License: GNU General Public License (GPL) +License: GPL v2 or later URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/ Summary: Utility for Configuring MD Setup BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -29,6 +29,7 @@ Source3: mdadmd Source4: boot.md Source5: mdrun Source6: raidautorun.c +Patch1: mdadm-git-fixes.patch %description Mdadm is a program that can be used to control Linux md devices. It is @@ -43,6 +44,7 @@ Authors: %prep %setup -q -a1 +%patch1 -p1 %build %{suse_update_config -f} @@ -119,6 +121,21 @@ rm -rf $RPM_BUILD_ROOT %{_var}/adm/fillup-templates/sysconfig.mdadm %changelog +* Fri Jul 13 2007 - mmarek@suse.cz +- updated to 2.6.2 + * --fail detached and --remove faulty can be used to fail and + remove devices that are no longer physically present. + * --export option for --detail or present information in a format + that can be processed by udev. + * fix internal bitmap allocation problems with v1.1, v1.2 + metadata. + * --help now goes to stdout so you can direct it to a pager. + * Various manpage updates. + * Make "--grow --add" for linear arrays really work. + * --auto-detect to trigger in-kernel autodetect. + * Make return code for "--detail --test" more reliable. Missing + devices as well as failed devices cause an error. +- added some fixes from Neil's git repo (mdadm-git-fixes.patch) * Thu Jun 21 2007 - adrian@suse.de - fix changelog entry order * Mon Apr 02 2007 - mmarek@suse.cz