On Sat, Mar 24, 2018 at 09:55:49PM +0800, jianchao.wang wrote: > Maybe we could provide a callback parameter for __blk_mq_pci_map_queues which > give the mapping from hctx queue num to device-relative interrupt vector index. If a driver's mapping is so complicated as to require a special per-hctx callback, it'd be just as easy to implement the mapping in that driver's blk_mq_ops' 'map_queues' directly.