mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
iscsi-scst: Fix performance regression
A recent change in iscsi_threads_pool_get changed 2 from being the minimum count to the maximum. Rectify.
This commit is contained in:
@@ -4108,7 +4108,7 @@ create:
|
||||
if (dedicated) {
|
||||
count = 1;
|
||||
} else if (!cpu_mask) {
|
||||
count = blk_mq_num_online_queues(2);
|
||||
count = max_t(int, blk_mq_num_online_queues(0), 2);
|
||||
} else {
|
||||
count = 0;
|
||||
for_each_cpu(i, cpu_mask)
|
||||
|
||||
Reference in New Issue
Block a user