diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-02-04 17:23:24 +0300 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-02-04 17:23:24 +0300 |
commit | b51912c91fcf7581cc7b4550f1bb96422809d9ed (patch) | |
tree | 3738e358e75088d300b289e013beccffe0af8e05 /fs/btrfs/export.c | |
parent | 0279b4cd86685b5eea467c1b74ce94f0add2c0a3 (diff) | |
download | linux-b51912c91fcf7581cc7b4550f1bb96422809d9ed.tar.xz |
Btrfs: async threads should try harder to find work
Tracing shows the delay between when an async thread goes to sleep
and when more work is added is often very short. This commit adds
a little bit of delay and extra checking to the code right before
we schedule out.
It allows more work to be added to the worker
without requiring notifications from other procs.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/export.c')
0 files changed, 0 insertions, 0 deletions