09 Jul, 2018
1 commit
-
set->mq_map is now currently cleared if something goes wrong when
establishing a queue map in blk-mq-pci.c. It's also cleared before
updating a queue map in blk_mq_update_queue_map().This patch provides an API to clear set->mq_map to make it clear.
Signed-off-by: Minwoo Im
Signed-off-by: Jens Axboe
28 Mar, 2018
1 commit
-
The PCI interrupt vectors intended to be associated with a queue may
not start at 0; a driver may allocate pre_vectors for special use. This
patch adds an offset parameter so blk-mq may find the intended affinity
mask and updates all drivers using this API accordingly.Cc: Don Brace
Cc:
Cc:
Signed-off-by: Keith Busch
Reviewed-by: Ming Lei
Signed-off-by: Jens Axboe
18 Aug, 2017
1 commit
-
While pci_irq_get_affinity should never fail for SMP kernel that
implement the affinity mapping, it will always return NULL in the
UP case, so provide a fallback mapping of all queues to CPU 0 in
that case.Signed-off-by: Christoph Hellwig
Cc: stable@vger.kernel.org
Reviewed-by: Omar Sandoval
Signed-off-by: Jens Axboe
30 Mar, 2017
1 commit
-
Signed-off-by: Sagi Grimberg
Signed-off-by: Jens Axboe
19 Sep, 2016
1 commit
-
and building block/blk-mq-pci.o should depend on CONFIG_BLOCK
Fixes: 973c4e372c8f ("blk-mq: provide a default queue mapping for PCI device")
Signed-off-by: Stephen Rothwell
Reviewed-by: Christoph Hellwig
Signed-off-by: Jens Axboe
15 Sep, 2016
1 commit
-
Signed-off-by: Christoph Hellwig
Reviewed-by: Keith Busch
Signed-off-by: Jens Axboe