[libmultipath] tweak defaults for DDN S2A8500
authorChristophe Varoqui <cvaroqui@zezette.localdomain>
Thu, 23 Nov 2006 23:26:43 +0000 (00:26 +0100)
committerChristophe Varoqui <cvaroqui@zezette.localdomain>
Thu, 23 Nov 2006 23:26:43 +0000 (00:26 +0100)
When using multipath-tools 0.4.7, I would like to reports that DDN S2A8500
disk array reports a wrong status whith 'readsector0' checker. 'directio'
seems to be the right checker for such storage system.

Frederic Temporelli, Bull

libmultipath/hwtable.c

index d085777..f1dc611 100644 (file)
@@ -170,7 +170,7 @@ static struct hwentry default_hw[] = {
                .rr_weight     = RR_WEIGHT_NONE,
                .no_path_retry = NO_PATH_RETRY_UNDEF,
                .minio         = DEFAULT_MINIO,
-               .checker_name  = READSECTOR0,
+               .checker_name  = DIRECTIO,
        },
        /*
         * EMC / Clariion controller family