]> asedeno.scripts.mit.edu Git - linux.git/commit
nvme: move queue_count to the nvme_ctrl
authorSagi Grimberg <sagi@grimberg.me>
Mon, 24 Apr 2017 07:58:29 +0000 (10:58 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Sun, 2 Jul 2017 11:59:04 +0000 (14:59 +0300)
commitd858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0
treea49edb59f2ff8a3bae2fe275ac9afcb740fa402d
parentd554b5e1ca64d23e4f839e6531490fee8479fbaf
nvme: move queue_count to the nvme_ctrl

All all transports use the queue_count in exactly the same, so move it to
the generic struct nvme_ctrl. In the future it will also be maintained by
the core.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-By: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
drivers/nvme/host/rdma.c
drivers/nvme/target/loop.c