]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvmet: propagate npwg topology
authorLuis Chamberlain <mcgrof@kernel.org>
Wed, 18 Dec 2024 02:33:25 +0000 (18:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:16:01 +0000 (17:16 +0100)
commit612269eb3f8f365bddad351b21ed656a14ea0876
tree62520562f2a4d391902f64ea9d626fef8ab79625
parent7df94f7f9e22a47dde0b4abc21747f3f344e08da
nvmet: propagate npwg topology

[ Upstream commit b579d6fdc3a9149bb4d2b3133cc0767130ed13e6 ]

Ensure we propagate npwg to the target as well instead
of assuming its the same logical blocks per physical block.

This ensures devices with large IUs information properly
propagated on the target.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/target/io-cmd-bdev.c