Skip to content
Commit fe630de0 authored by Vitaly Mayatskikh's avatar Vitaly Mayatskikh Committed by Song Liu
Browse files

md/raid10: avoid deadlock on recovery.



When disk failure happens and the array has a spare drive, resync thread
kicks in and starts to refill the spare. However it may get blocked by
a retry thread that resubmits failed IO to a mirror and itself can get
blocked on a barrier raised by the resync thread.

Acked-by: default avatarNigel Croxon <ncroxon@redhat.com>
Signed-off-by: default avatarVitaly Mayatskikh <vmayatskikh@digitalocean.com>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent c333f949
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment