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
draw_functrace.py -rw-r--r-- 3.5 KB

back to top