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

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
......@@ -819,6 +819,7 @@ static void flush_bio_list(struct r1conf *conf, struct bio *bio)
else
generic_make_request(bio);
bio = next;
cond_resched();
}
}
......
Markdown is supported
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