Commit 8035b4d8 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by sanglipeng
Browse files

nvme-pci: factor the iod mempool creation into a helper

stable inclusion
from stable-v5.10.198
commit 71357c751fb25c9c7ced051419dbddd02250b91d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I987V5

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=71357c751fb25c9c7ced051419dbddd02250b91d



--------------------------------

[ Upstream commit 081a7d95 ]

Add a helper to create the iod mempool.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Tested-by Gerd Bayer <gbayer@linxu.ibm.com>
Stable-dep-of: dad651b2 ("nvme-pci: do not set the NUMA node of device if it has none")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 7878fc7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment