multipath-tools: add FBA DASD
PATCH 1/1 multipath-tools: add FBA DASD
S/390 FBA DASDs are not blacklisted because they are not detected correctly. Added S/390 FBA DASDs to hwtable.c to solve this problem
Signed-off-by Stefan Haberland <[email protected]>
---libmultipath/hwtable.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
libmultipath/hwtable.c +17 -0
@@ -497,6 +497,23 @@ static struct hwentry default_hw[] = { .checker_name = DIRECTIO, .prio_name = DEFAULT_PRIO, }, + { +/* IBM S/390 FBA DASD */ + .vendor = "IBM", + .product = "S/390 DASD FBA", + .bl_product = "S/390.*", + .getuid = "/sbin/dasdinfo -u -b %n", + .features = "1 queue_if_no_path", + .hwhandler = DEFAULT_HWHANDLER, + .selector = DEFAULT_SELECTOR, + .pgpolicy = MULTIBUS, + .pgfailback = FAILBACK_UNDEF, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = NO_PATH_RETRY_UNDEF, + .minio = DEFAULT_MINIO, + .checker_name = DIRECTIO, + .prio_name = DEFAULT_PRIO, + },/* * NETAPP controller family *
S/390 FBA DASDs are not blacklisted because they are not detected correctly. Added S/390 FBA DASDs to hwtable.c to solve this problem
Signed-off-by Stefan Haberland <[email protected]>
--- libmultipath/hwtable.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+)
libmultipath/hwtable.c +17 -0
@@ -497,6 +497,23 @@ static struct hwentry default_hw[] = { .checker_name = DIRECTIO, .prio_name = DEFAULT_PRIO, }, + { +/* IBM S/390 FBA DASD */ + .vendor = "IBM", + .product = "S/390 DASD FBA", + .bl_product = "S/390.*", + .getuid = "/sbin/dasdinfo -u -b %n", + .features = "1 queue_if_no_path", + .hwhandler = DEFAULT_HWHANDLER, + .selector = DEFAULT_SELECTOR, + .pgpolicy = MULTIBUS, + .pgfailback = FAILBACK_UNDEF, + .rr_weight = RR_WEIGHT_NONE, + .no_path_retry = NO_PATH_RETRY_UNDEF, + .minio = DEFAULT_MINIO, + .checker_name = DIRECTIO, + .prio_name = DEFAULT_PRIO, + },/* * NETAPP controller family *