summaryrefslogtreecommitdiff
path: root/libmultipath/hwtable.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-05-19 15:26:24 -0500
committerChristophe Varoqui <christophe.varoqui@opensvc.com>2010-05-20 06:50:30 +0200
commit5190ae28879a311ed6f476159cf4c54baef435ff (patch)
tree376651bc8d35daee44ea78c00862c72739d506ba /libmultipath/hwtable.c
parent69cb2d84466042ae5021740c04703c2cb92f6c1b (diff)
downloadmultipath-tools-5190ae28879a311ed6f476159cf4c54baef435ff.tar.gz
multipath-tools-5190ae28879a311ed6f476159cf4c54baef435ff.tar.bz2
multipath-tools-5190ae28879a311ed6f476159cf4c54baef435ff.zip
multipath_tools: Fixup IBM Virtual SCSI hwtable entries
Removes a hwtable entry for a IBM Virtual SCSI vendor/device ID that is no longer going to be released. Adds a new vendor/device ID for a new IBM Virtual SCSI vendor/device ID. This is needed since path switching on this device type is expensive, so we don't want to do round robin. Additionally, the default health checker (direct IO) does not work for this device type. Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Diffstat (limited to 'libmultipath/hwtable.c')
-rw-r--r--libmultipath/hwtable.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 8674314..6406c2d 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -703,20 +703,20 @@ static struct hwentry default_hw[] = {
.prio_name = DEFAULT_PRIO,
},
{
- /* AIX NVDISK */
- .vendor = "AIX",
- .product = "NVDISK",
+ /* IBM 3303 NVDISK */
+ .vendor = "IBM",
+ .product = "3303 NVDISK",
.getuid = DEFAULT_GETUID,
.features = DEFAULT_FEATURES,
- .hwhandler = "1 alua",
+ .hwhandler = DEFAULT_HWHANDLER,
.selector = DEFAULT_SELECTOR,
- .pgpolicy = GROUP_BY_PRIO,
+ .pgpolicy = FAILOVER,
.pgfailback = -FAILBACK_IMMEDIATE,
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = (300 / DEFAULT_CHECKINT),
.minio = DEFAULT_MINIO,
.checker_name = TUR,
- .prio_name = PRIO_ALUA,
+ .prio_name = DEFAULT_PRIO,
},
{