aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-04-28 13:38:42 -0400
committerDavid Sterba <dsterba@suse.com>2021-06-21 15:19:04 +0200
commited738ba7f96170384f3e94a38be5536560eabc00 (patch)
tree7bc232908f5acfce0812b969f327aac9bf5a7cfa /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: remove stale comment for argument seed of btrfs_find_device (diff)
downloadlinux-dev-ed738ba7f96170384f3e94a38be5536560eabc00.tar.xz
linux-dev-ed738ba7f96170384f3e94a38be5536560eabc00.zip
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 <johannes.thumshirn@wdc.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions