nvme-pci: use the tagset alloc/free helpers
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Nov 2022 16:26:25 +0000 (17:26 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 7 Dec 2022 14:02:31 +0000 (15:02 +0100)
commit0da7feaa5913090a2b97177ed3d7fa07b2d1d99c
treedc36595b52fd613de62376881b5f9ddea173bb81
parent93b24f579c392bac2e491fee79ad5ce5a131992e
nvme-pci: use the tagset alloc/free helpers

Use the common helpers to allocate and free the tagsets.  To make this
work the generic nvme_ctrl now needs to be stored in the hctx private
data instead of the nvme_dev.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/host/pci.c