summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-virtio.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* blk-mq: initial support for multiple queue mapsJens Axboe2018-11-071-1/+1
| | | | | | | | | | | | | Add a queue offset to the tag map. This enables users to map iteratively, for each queue map type they support. Bump maximum number of supported maps to 2, we're now fully able to support more than 1 map. Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
* blk-mq: abstract out queue mapJens Axboe2018-11-071-4/+4
| | | | | | | | | | This is in preparation for allowing multiple sets of maps per queue, if so desired. Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
* blk-mq: provide a default queue mapping for virtio deviceChristoph Hellwig2017-02-271-0/+54
Similar to the PCI version, just calling into virtio instead. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>