]> git.ipfire.org Git - thirdparty/mdadm.git/commit
DDF: get_extents: don't allocate space on failed disks
authormwilck@arcor.de <mwilck@arcor.de>
Mon, 5 Aug 2013 20:37:50 +0000 (22:37 +0200)
committerNeilBrown <neilb@suse.de>
Mon, 5 Aug 2013 23:54:47 +0000 (09:54 +1000)
commit60056e1c3df6541811135f8eafa0b356a49a4453
tree6b0ae59bccbeb9dc7c83111855cf50417171df24
parent6b924b1e9fdef07596f30f8dfadec66192c4377c
DDF: get_extents: don't allocate space on failed disks

We should skip known failed disks when allocating space for
new arrays. This fixes the problem with 10ddf-fail-spare.

Signed-off-by: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c