[dm-devel] [PATCH] multipath-tools: add directio path_checker for DASD devices

Hannes Reinecke hare at suse.de
Mon Jul 2 06:00:24 UTC 2018


On 07/01/2018 12:50 AM, Xose Vazquez Perez wrote:
> tur(default) is only for SCSI devices.
> 
> CC: Hannes Reinecke <hare at suse.de>
> Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
> Cc: DM-DEV ML <dm-devel at redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
> ---
>  libmultipath/hwtable.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
> index 8499c2f..f012dea 100644
> --- a/libmultipath/hwtable.c
> +++ b/libmultipath/hwtable.c
> @@ -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 */
> 
Well ... we don't actually use multipathing on DASD; most systems do
HyperPAV by now, so multipathing is kinda pointless.

But anyway:

Reviewed-by: Hannes Reinecke <hare at suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare at suse.de			               +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)




More information about the dm-devel mailing list