]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: factor the iod mempool creation into a helper
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Nov 2022 08:41:41 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:58 +0000 (14:56 +0200)
commit69bc295d0e0b75f2fc449840e511385b37393b49
tree83194536304f00e253bbfb073da0cae0975b6e86
parent9ebee88a891156fbca33b3642a3c6929f7b3cf63
nvme-pci: factor the iod mempool creation into a helper

[ Upstream commit 081a7d958ce4b65f9aab6e70e65b0b2e0b92297c ]

Add a helper to create the iod mempool.

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>
Tested-by Gerd Bayer <gbayer@linxu.ibm.com>
Stable-dep-of: dad651b2a44e ("nvme-pci: do not set the NUMA node of device if it has none")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/pci.c