Commit 5fa4f8ba authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Song Liu
Browse files

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: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarSong Liu <songliubraving@fb.com>
parent da644b2c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -819,6 +819,7 @@ static void flush_bio_list(struct r1conf *conf, struct bio *bio)
		else
			generic_make_request(bio);
		bio = next;
		cond_resched();
	}
}