Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx> writes: > If md has changed the state to 'blocked' and metadata handler supports > bad blocks, try process them first. If metadata handler has successfully > stored bad block, acknowledge it to md via 'badblocks' sysfs file. If > metadata handler has failed to store the new bad block (ie. lack of > space), remove bad block support for a disk by writing "-external_bbl" > to state sysfs file. If all bad blocks have been acknowledged, request > to unblock the array. > > Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx> > Acked-by: Artur Paszkiewicz <artur.paszkiewicz@xxxxxxxxx> > --- > mdadm.h | 4 +++ > monitor.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 116 insertions(+) Applied! Thanks, Jes -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html