Package: mdadm
Version: 3.4-4
Severity: normal
Tags: patch

If no scheduling class is given, /usr/share/mdadm/checkarray only
checks the first array found. This is because a "break" is used
where a "continue" should have been. Please consider the attached
patch that solves the problem.


-- 
$ cat ~/.signature
Freddy Spierenburg <fre...@snarl.nl>         http://freddy.snarl.nl/
GnuPG fingerprint: C71E F201 840C 8998 4D3F F675 B507 BF7D 9218 273E
$ # Please read http://www.ietf.org/rfc/rfc2015.txt before complain!
diff -Naur mdadm_3.4-4.orig//usr/share/mdadm/checkarray mdadm_3.4-4//usr/share/mdadm/checkarray
--- mdadm_3.4-4.orig//usr/share/mdadm/checkarray	2016-07-28 17:52:07.000000000 +0200
+++ mdadm_3.4-4//usr/share/mdadm/checkarray	2016-11-08 16:34:03.000000000 +0100
@@ -196,7 +196,7 @@
         low) ioarg='-c2 -n7'; renice=5;;
         high) ioarg='-c2 -n0'; renice=0;;
         realtime) ioarg='-c1 -n4'; renice=-5;;
-        *) break;;
+        *) continue;;
       esac
 
       resync_pid= wait=5

Attachment: signature.asc
Description: Digital signature

Reply via email to