Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx> writes: > If an update of acknowledged bad blocks file is notified, read entire > bad block list from sysfs file and compare it against local list of bad > blocks. If any obsolete entries are found, remove them from metadata. > > As mdmon cannot perform any memory allocation, new superswitch method > get_bad_blocks is expected to return a list of bad blocks in metadata > without allocating memory. It's up to metadata handler to allocate all > required memory in advance. > > Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx> > Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@xxxxxxxxx> > --- > mdadm.h | 7 ++++++ > monitor.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 86 insertions(+), 2 deletions(-) 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