[PATCH 13/24] scsi-multipath: set disk device_groups

John Garry john.g.garry at oracle.com
Wed Feb 25 07:36:16 PST 2026


Set disk device_groups as mpath_device_groups, as this gives us the
"multipath" syfs device groups.

Signed-off-by: John Garry <john.g.garry at oracle.com>
---
 drivers/scsi/scsi_multipath.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/scsi_multipath.c b/drivers/scsi/scsi_multipath.c
index 6aeac20a350ff..73afcbaf2d7de 100644
--- a/drivers/scsi/scsi_multipath.c
+++ b/drivers/scsi/scsi_multipath.c
@@ -389,6 +389,7 @@ struct mpath_head_template smpdt_pr = {
 	.available_path = scsi_mpath_available_path,
 	.get_iopolicy = scsi_mpath_get_iopolicy,
 	.clone_bio = scsi_mpath_clone_bio,
+	.device_groups = mpath_device_groups,
 };
 
 static struct scsi_mpath_head *scsi_mpath_alloc_head(void)
-- 
2.43.5




More information about the Linux-nvme mailing list