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:
Brian M
2026-03-03 11:26:38 -08:00
committed by Gleb Chesnokov
parent 84a23a254b
commit 7a4ab042e6

View File

@@ -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)