|
@@ -4337,6 +4337,7 @@ static void handle_stripe(struct stripe_head *sh)
|
|
|
if (s.failed > conf->max_degraded) {
|
|
if (s.failed > conf->max_degraded) {
|
|
|
sh->check_state = 0;
|
|
sh->check_state = 0;
|
|
|
sh->reconstruct_state = 0;
|
|
sh->reconstruct_state = 0;
|
|
|
|
|
+ break_stripe_batch_list(sh, 0);
|
|
|
if (s.to_read+s.to_write+s.written)
|
|
if (s.to_read+s.to_write+s.written)
|
|
|
handle_failed_stripe(conf, sh, &s, disks, &s.return_bi);
|
|
handle_failed_stripe(conf, sh, &s, disks, &s.return_bi);
|
|
|
if (s.syncing + s.replacing)
|
|
if (s.syncing + s.replacing)
|