Select the types of activity you want to include in your feed.
Merge branch 'for-linus' of git://neil.brown.name/md
* 'for-linus' of git://neil.brown.name/md: md: restore ability of spare drives to spin down. md/raid6: Fix raid-6 read-error correction in degraded state
···21092109 if (!mddev->in_sync || mddev->recovery_cp != MaxSector) { /* not clean */21102110 /* .. if the array isn't clean, an 'even' event must also go21112111 * to spares. */21122112- if ((mddev->events&1)==0)21122112+ if ((mddev->events&1)==0) {21132113 nospares = 0;21142114+ sync_req = 2; /* force a second update to get the21152115+ * even/odd in sync */21162116+ }21142117 } else {21152118 /* otherwise an 'odd' event must go to spares */21162116- if ((mddev->events&1))21192119+ if ((mddev->events&1)) {21172120 nospares = 0;21212121+ sync_req = 2; /* force a second update to get the21222122+ * even/odd in sync */21232123+ }21182124 }21192125 }21202126
+1-1
drivers/md/raid5.c
···1527152715281528 clear_bit(R5_UPTODATE, &sh->dev[i].flags);15291529 atomic_inc(&rdev->read_errors);15301530- if (conf->mddev->degraded)15301530+ if (conf->mddev->degraded >= conf->max_degraded)15311531 printk_rl(KERN_WARNING15321532 "raid5:%s: read error not correctable "15331533 "(sector %llu on %s).\n",