Hello community, here is the log from the commit of package mdadm checked in at Wed Apr 5 17:34:34 CEST 2006. -------- --- mdadm/mdadm.changes 2006-03-24 21:32:23.000000000 +0100 +++ mdadm/mdadm.changes 2006-04-03 18:43:18.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Apr 3 09:54:55 CEST 2006 - mjancar@suse.cz + +- fix garbled output with --detail (#160827) +- fix fix write-mostly with --add and --re-add (#162968) + +------------------------------------------------------------------- New: ---- mdadm-2.2-detail.diff mdadm-2.2-write-mostly.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mdadm.spec ++++++ --- /var/tmp/diff_new_pack.dQvAXW/_old 2006-04-05 17:34:17.000000000 +0200 +++ /var/tmp/diff_new_pack.dQvAXW/_new 2006-04-05 17:34:17.000000000 +0200 @@ -12,7 +12,7 @@ Name: mdadm Version: 2.2 -Release: 15 +Release: 16 BuildRequires: opensp sgmltool PreReq: %fillup_prereq %insserv_prereq Obsoletes: raidtools @@ -35,6 +35,8 @@ Patch3: %{name}-%{version}-bug144647-add_internal_bitmap0-memcpy.diff Patch4: %{name}-%{version}-assemble.diff Patch5: %{name}-%{version}-round_to_chunk.diff +Patch6: %{name}-%{version}-detail.diff +Patch7: %{name}-%{version}-write-mostly.diff %description Mdadm is a program that can be used to control Linux md devices. It is @@ -55,6 +57,8 @@ %patch3 %patch4 %patch5 +%patch6 +%patch7 %build %{suse_update_config -f} @@ -97,6 +101,9 @@ %{_var}/adm/fillup-templates/sysconfig.mdadm %changelog -n mdadm +* Mon Apr 03 2006 - mjancar@suse.cz +- fix garbled output with --detail (#160827) +- fix fix write-mostly with --add and --re-add (#162968) * Fri Mar 24 2006 - mjancar@suse.cz - add /sbin/raidautorun (#159460) * Wed Mar 08 2006 - mjancar@suse.cz ++++++ mdadm-2.2-detail.diff ++++++ Signed-off-by: Neil Brown <neilb@suse.de> ### Diffstat output ./Detail.c | 1 + 1 file changed, 1 insertion(+) ================================================================================ --- Detail.c +++ Detail.c @@ -220,6 +220,7 @@ for (d=0; d<max_disks; d++) { disks[d].state = (1<<MD_DISK_REMOVED); disks[d].major = disks[d].minor = 0; + disks[d].number = disks[d].raid_disk = d; } next = array.raid_disks; ++++++ mdadm-2.2-write-mostly.diff ++++++ Signed-Off-By: Paul Clements <paul.clements@steeleye.com> Manage.c | 2 ++ 1 files changed, 2 insertions(+) ================================================================================ --- Manage.c +++ Manage.c @@ -342,6 +342,8 @@ break; } } + if (dv->writemostly) + disc.state |= (1 << MD_DISK_WRITEMOSTLY); if (ioctl(fd,ADD_NEW_DISK, &disc)) { fprintf(stderr, Name ": add new device failed for %s as %d: %s\n", dv->devname, j, strerror(errno)); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de