md/raid1: avoid soft lockup under high load
Subsystems (2)
PATCH 1/1 md/raid1: avoid soft lockup under high load
As all I/O is being pushed through a kernel thread the softlockup watchdog might be triggered under high load.
Signed-off-by Hannes Reinecke <[email protected]>
--- drivers/md/raid1.c | 1 + 1 file changed, 1 insertion(+)
drivers/md/raid1.c +1 -0
@@ -821,6 +821,7 @@ static void flush_bio_list(struct r1conf *conf, struct bio *bio)else generic_make_request (bio); bio = next; +cond_resched (); } }
Signature · 1 line
2.16.4
Song Liu
AppliedQuoted 5 lines · Hannes Reinecke
As all I/O is being pushed through a kernel thread the softlockup watchdog might be triggered under high load.
Signed-off-by Hannes Reinecke <[email protected]>
Applied to md-next. Thanks!
Song