Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
mdadm
1001-Fix-regression-during-add-devices.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1001-Fix-regression-during-add-devices.patch of Package mdadm
From 0b99042f19099054edb7e52e50602750fc04e484 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Tue, 3 Nov 2015 16:42:29 +0100 Subject: [PATCH] Fix regression during add devices Commit 38aeaf3a introduced a regression which would not allow to re-add new drives to a failed array. References: bsc#953380 Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Coly Li <colyli@suse.de> --- Manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: mdadm-3.3.4/Manage.c =================================================================== --- mdadm-3.3.4.orig/Manage.c +++ mdadm-3.3.4/Manage.c @@ -879,10 +879,10 @@ int Manage_add(int fd, int tfd, struct m continue; if (disc.major == 0 && disc.minor == 0) continue; - found++; if (!(disc.state & (1<<MD_DISK_SYNC))) continue; avail[disc.raid_disk] = 1; + found++; } array_failed = !enough(array->level, array->raid_disks, array->layout, 1, avail);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor