diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-12-15 15:29:43 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-12-15 16:50:38 +0100 |
commit | 8f3b65a3d66bcc086e1eb040b7545e70681f2ed1 (patch) | |
tree | 3111f24d0e0391f8a1dac3f0a7fb9bff05e2b4bd /fs/statfs.c | |
parent | Btrfs: fix ctime update of on-disk inode (diff) | |
download | linux-8f3b65a3d66bcc086e1eb040b7545e70681f2ed1.tar.xz linux-8f3b65a3d66bcc086e1eb040b7545e70681f2ed1.zip |
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: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions