projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da644b2
)
md/raid1: avoid soft lockup under high load
author
Hannes Reinecke
<hare@suse.de>
Fri, 25 Oct 2019 07:08:56 +0000
(09:08 +0200)
committer
Song Liu
<songliubraving@fb.com>
Tue, 12 Nov 2019 00:32:22 +0000
(16:32 -0800)
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@suse.de>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid1.c
patch
|
blob
|
history
diff --git
a/drivers/md/raid1.c
b/drivers/md/raid1.c
index bb29aeefcbd0ff528507a4b7e3e3c0e32c02bad4..a409ab6f30bc33375561d4cebc20c5e20f9435ba 100644
(file)
--- a/
drivers/md/raid1.c
+++ b/
drivers/md/raid1.c
@@
-819,6
+819,7
@@
static void flush_bio_list(struct r1conf *conf, struct bio *bio)
else
generic_make_request(bio);
bio = next;
+ cond_resched();
}
}