* [PATCH 2/3] raid5: If stripe was on delay state,it don't judge other disks state.
@ 2012-09-06 1:28 Jianpeng Ma
0 siblings, 0 replies; only message in thread
From: Jianpeng Ma @ 2012-09-06 1:28 UTC (permalink / raw)
To: Neil Brown; +Cc: linux-raid
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
---
drivers/md/raid5.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 3f21074..0d61972b 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -2819,6 +2819,7 @@ static void handle_stripe_dirtying(struct r5conf *conf,
} else {
set_bit(STRIPE_DELAYED, &sh->state);
set_bit(STRIPE_HANDLE, &sh->state);
+ break;
}
}
}
@@ -2845,6 +2846,7 @@ static void handle_stripe_dirtying(struct r5conf *conf,
} else {
set_bit(STRIPE_DELAYED, &sh->state);
set_bit(STRIPE_HANDLE, &sh->state);
+ break;
}
}
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-06 1:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 1:28 [PATCH 2/3] raid5: If stripe was on delay state,it don't judge other disks state Jianpeng Ma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.