https://github.com/torvalds/linux
Revision 8f3b65a3d66bcc086e1eb040b7545e70681f2ed1 authored by Chris Mason on 15 December 2011, 14:29:43 UTC, committed by Chris Mason on 15 December 2011, 15:50:38 UTC
If we have a constant stream of end_io completions or crc work,
we can hit softlockup messages from the async helper threads.  This
adds a cond_resched() into the loop to avoid them.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 306424c
History
Tip revision: 8f3b65a3d66bcc086e1eb040b7545e70681f2ed1 authored by Chris Mason on 15 December 2011, 14:29:43 UTC
Btrfs: add a cond_resched() into the worker loop
Tip revision: 8f3b65a
File Mode Size
.gitignore -rw-r--r-- 34 bytes
Makefile -rw-r--r-- 467 bytes
empty.c -rw-r--r-- 54 bytes
file2alias.c -rw-r--r-- 30.3 KB
mk_elfconfig.c -rw-r--r-- 1.2 KB
modpost.c -rw-r--r-- 55.9 KB
modpost.h -rw-r--r-- 4.7 KB
sumversion.c -rw-r--r-- 11.9 KB

back to top