Skip to content
Commit 8f3b65a3 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: add a cond_resched() into the worker loop



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: default avatarChris Mason <chris.mason@oracle.com>
parent 306424cc
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