diff options
| author | Yu Kuai <[email protected]> | 2022-09-16 15:19:40 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-11-01 07:09:44 -0600 |
| commit | eed3ecc991c90a4a0ce32ea2b35378dc351f012b (patch) | |
| tree | 6332d1cdea891dbfb7911168d19b5000510a37c6 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 71f8ca77cb8764d46f656b725999e8b8b1aec215 (diff) | |
block, bfq: do not idle if only one group is activated
Now that root group is counted into 'num_groups_with_pending_reqs',
'num_groups_with_pending_reqs > 0' is always true in
bfq_asymmetric_scenario(). Thus change the condition to '> 1'.
On the other hand, this change can enable concurrent sync io if only
one group is activated.
Signed-off-by: Yu Kuai <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Acked-by: Paolo Valente <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions