Fix raid1 resync getting stuck
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | md/raid1: Avoid raid1 resync getting stuckdrivers/ | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] Fix raid1 resync getting stuck
From: Jes Sorensen <[email protected]>
Neil,
This patch seems to do the job for us. Nate ran testing with > 500 iterations which would normally fail in less than 10.
I tried changing MaxSector to ((~(sector_t)0) >> 1) as you suggested, but that made the raid5 code go explosive. This on the other hand seems to do the trick.
Cheers,
Jes
Jes Sorensen (1):
md/raid1: Avoid raid1 resync getting stuck
drivers/md/raid1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.4.3