diff options
| author | Josef Bacik <[email protected]> | 2021-04-28 13:38:42 -0400 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2021-06-21 15:19:04 +0200 |
| commit | ed738ba7f96170384f3e94a38be5536560eabc00 (patch) | |
| tree | 7bc232908f5acfce0812b969f327aac9bf5a7cfa /tools/perf/scripts/python | |
| parent | 94358c35d80a8de5054c295d48332611d48222b4 (diff) | |
btrfs: check worker before need_preemptive_reclaim
need_preemptive_reclaim() does some calculations, which aren't heavy,
but if we're already running preemptive reclaim there's no reason to do
them at all, so re-order the checks so that we don't do the calculation
if we're already doing reclaim.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions