Skip to content
Commit cb8ae8e5 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Sasha Levin
Browse files

nvme: only set reserved_tags in nvme_alloc_io_tag_set for fabrics controllers

[ Upstream commit b794d1c2

 ]

The reserved_tags are only needed for fabrics controllers.  Right now only
fabrics drivers call this helper, so this is harmless, but we'll use it
in the PCIe driver soon.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Stable-dep-of: de105068

 ("nvme: fix reconnection fail due to reserved tag allocation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1ed222ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment