]> Git Repo - linux.git/commit
md/raid10: avoid deadlock on recovery.
authorVitaly Mayatskikh <[email protected]>
Tue, 3 Mar 2020 18:14:40 +0000 (13:14 -0500)
committerSong Liu <[email protected]>
Wed, 22 Jul 2020 18:44:54 +0000 (11:44 -0700)
commitfe630de009d0729584d79c78f43121e07c745fdc
treeb309aa7ea7f89b1aecdb44844cb1d3a75daecbcf
parentc333f9495c451d958c6f4a41e5de2d8f80f79496
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: Nigel Croxon <[email protected]>
Signed-off-by: Vitaly Mayatskikh <[email protected]>
Signed-off-by: Song Liu <[email protected]>
drivers/md/raid10.c
This page took 0.056565 seconds and 4 git commands to generate.