Skip to contentSkip to conversation

multipath-tools: add directio path_checker for DASD devices

PATCH In review Xose Vazquez Perez 2 participants 2 messages Jun 30, 2018 – Jul 2, 2018 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: add directio path_checker for DASD devices

tur(default) is only for SCSI devices.

CC Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEV ML <[email protected]>
---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +2 -0
index 8499c2f..f012dea 100644
@@ -625,6 +625,7 @@ static struct hwentry default_hw[] = {
 		.uid_attribute = "ID_UID",
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
 		.pgpolicy      = MULTIBUS,
+		.checker_name  = DIRECTIO,
 	},
 	{
 		/* DS6000/DS8000 DASD FBA */
@@ -634,6 +635,7 @@ static struct hwentry default_hw[] = {
 		.uid_attribute = "ID_UID",
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
 		.pgpolicy      = MULTIBUS,
+		.checker_name  = DIRECTIO,
 	},
 	{
 		/* Power RAID */
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · Xose Vazquez Perez

tur(default) is only for SCSI devices.

CC Hannes Reinecke <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEV ML <[email protected]>
---
 libmultipath/hwtable.c | 2 ++
 1 file changed, 2 insertions(+)
libmultipath/hwtable.c +1 -0
index 8499c2f..f012dea 100644
@@ -625,6 +625,7 @@ static struct hwentry default_hw[] = {
 		.uid_attribute = "ID_UID",
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
 		.pgpolicy      = MULTIBUS,
+		.checker_name  = DIRECTIO,
 	},
 	{
 		/* DS6000/DS8000 DASD FBA */

libmultipath/hwtable.c static struct hwentry default_hw[] = { · line 641

Quoted 7 lines
libmultipath/hwtable.c +1 -0
@@ -634,6 +635,7 @@ static struct hwentry default_hw[] = {
 		.uid_attribute = "ID_UID",
 		.no_path_retry = NO_PATH_RETRY_QUEUE,
 		.pgpolicy      = MULTIBUS,
+		.checker_name  = DIRECTIO,
 	},
 	{
 		/* Power RAID */

Well ... we don't actually use multipathing on DASD; most systems do HyperPAV by now, so multipathing is kinda pointless.

But anyway:

Cheers,

Hannes

Signature · 10 lines
Dr. Hannes Reinecke		   Teamlead Storage & Networking
[email protected]			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel