]> git.ipfire.org Git - thirdparty/kernel/stable.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 11:18:19 +0000 (13:18 +0200)
commitaf58072e867cf29a70b1a864d535381eb8a45125
treeb9cfdcabe43f67be56251d2f6c3dc35843a58334
parentc8bc44936f2c502429be4ae7940cbaced3b6e565
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