+ ctrl->queue_count = 1; /* admin queue */; + if (nr_io_queues > 0) + ctrl->queue_count += nr_io_queues; + else + ctrl->queue_count += num_possible_cpus();
This should really be num_online_cpus(), I get way more than I need with num_possible_cpus()... -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html