]> git.baikalelectronics.ru Git - kernel.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)
commitf9dbd35121bea258683873753ef76d96f1194637
treea49edb59f2ff8a3bae2fe275ac9afcb740fa402d
parent93a89a0f5ce2539f4f19c671c6e40a8baa417e50
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