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)
commit330f6b8a70771f0b059b7bcbc9a28d8023235b55
treeefb4989d559dc3ea7bd96ba2ddeb6f962bd77403
parentfa9a1811e094658e53b0c82b6ce0431c4c54fc1b
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