Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx> writes: > At the moment there is no way to be notified that bad blocks have been found on > a disk. It is only possible to check manually with 'mdadm --examine-badblocks'. > User might not be aware there is a bad block for a long period. If another disk > in the array fails, data is lost. > > These patches add a new event to the kernel and mdadm in order to send > notification on the first bad block on a disk. I have chosen to do it only for > first bad block as I think it's sufficient indication that the drive requires > replacement. Tomasz, Looks reasonable to me - I'll wait for Shaohua to respond on the kernel part before I apply the mdadm part. Cheers, 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