]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fabrics: allow user to set nr_write_queues for separate queue maps
authorSagi Grimberg <sagi@grimberg.me>
Wed, 12 Dec 2018 07:38:56 +0000 (23:38 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 08:59:09 +0000 (09:59 +0100)
commit7787a053044e1f71be2a560d993fd1be23422ce6
treeefb4989d559dc3ea7bd96ba2ddeb6f962bd77403
parent44d7e617ca287b3d6c21275415a812c7d1ea1bf1
nvme-fabrics: allow user to set nr_write_queues for separate queue maps

This argument will specify how many I/O queues will be connected in
create_ctrl in addition to nr_io_queues. With this configuration, I/O
that carries payload from the host to the target, will use the default
hctx queue map, and I/O that involves target to host transfers will use
the read hctx queue map.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c
drivers/nvme/host/fabrics.h