md: Push down reconstruction log message to personality code.
[deliverable/linux.git] / drivers / md / raid5.c
index 5ea2bdece278f34c190b87a65124a7febf65413d..8f2e3740a05ab76b0c793c412bb1a79ab2f6b3de 100644 (file)
@@ -4454,6 +4454,10 @@ static int run(mddev_t *mddev)
        int working_disks = 0;
        mdk_rdev_t *rdev;
 
+       if (mddev->recovery_cp != MaxSector)
+               printk(KERN_NOTICE "raid5: %s is not clean"
+                      " -- starting background reconstruction\n",
+                      mdname(mddev));
        if (mddev->reshape_position != MaxSector) {
                /* Check that we can continue the reshape.
                 * Currently only disks can change, it must
This page took 0.027904 seconds and 5 git commands to generate.