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 <hare@xxxxxxx> --- drivers/md/raid1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index d37a55f8e461..d7543805e9ff 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@ -821,6 +821,7 @@ static void flush_bio_list(struct r1conf *conf, struct bio *bio) else generic_make_request(bio); bio = next; + cond_resched(); } } -- 2.16.4