diff options
| author | Nikolay Borisov <[email protected]> | 2017-10-23 13:51:49 +0300 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-01-22 16:08:11 +0100 |
| commit | 8577787fac828a9873064ccec986f4be6156615d (patch) | |
| tree | ea16b9b6075c751cb46d87aa7869494e76df73f1 /tools/perf/scripts/python | |
| parent | 617c54a88eaba611bfaa917918c773a91c53692a (diff) | |
btrfs: Move checks from btrfs_wq_run_delayed_node to btrfs_balance_delayed_items
btrfs_balance_delayed_items is the sole caller of
btrfs_wq_run_delayed_node and already includes one of the checks whether
the delayed inodes should be run. On the other hand
btrfs_wq_run_delayed_node duplicates that check and performs an
additional one for wq congestion.
Let's remove the duplicate check and move the congestion one in
btrfs_balance_delayed_items, leaving btrfs_wq_run_delayed_node to only
care about setting up the wq run. No functional changes.
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions