[PATCH] nvmet: Add support for FDP devices in fabrics passthru path
Nitesh Shetty
nj.shetty at samsung.com
Mon Jul 14 23:18:04 PDT 2025
In nvmet passthru path FDP is disabled, because of failure of
admin_get_features FDP(0x1d) feature command.
Supporting this through nvmet_setup_passthru_command enables FDP.
Signed-off-by: Nitesh Shetty <nj.shetty at samsung.com>
---
drivers/nvme/target/passthru.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/nvme/target/passthru.c b/drivers/nvme/target/passthru.c
index b7515c53829b..bf27ae4c42dc 100644
--- a/drivers/nvme/target/passthru.c
+++ b/drivers/nvme/target/passthru.c
@@ -460,6 +460,7 @@ static u16 nvmet_passthru_get_set_features(struct nvmet_req *req)
case NVME_FEAT_PLM_WINDOW:
case NVME_FEAT_HOST_BEHAVIOR:
case NVME_FEAT_SANITIZE:
+ case NVME_FEAT_FDP:
case NVME_FEAT_VENDOR_START ... NVME_FEAT_VENDOR_END:
return nvmet_setup_passthru_command(req);
base-commit: 3f31a806a62e44f7498e2d17719c03f816553f11
--
2.43.0
More information about the Linux-nvme
mailing list