Re: [Question] on blk_mq_map_queues()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/10/2017 17:27, Christoph Hellwig wrote:
On Thu, Oct 05, 2017 at 05:06:54PM +0100, John Garry wrote:
It's a HiSilicon hip07 (D05) platform. For this platform, the integrated
SAS controller is a platform device. This controller supports 16 hw queues.

That's v1 or v2 in drivers/scsi/hisi_sas?

That's v2 drivers/scsi/hisi_sas.


Seems like you need to implement the equivalent of the
pci_alloc_irq_vectors vector spreading for platform devices to get
your vectors properly assigned, and the have a blk_mq_of_map_queues
equivalent to blk_mq_pci_map_queues to map the queues based on the
interrupt assignment.

.

Right, I'll have a look.

But I am still interested in patch "blk-mq: map all HWQ also in hyperthreaded system" and what it is the intended mapping behaviour of blk_mq_of_map_queues() supposed to be. As I said originally, it does not always seem to follow the general principle of assigning close cores to the same queue.

Cheers,
John





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux