summaryrefslogtreecommitdiff
path: root/libmultipath/prioritizers/emc.c
diff options
context:
space:
mode:
authorChristophe Varoqui <christophe.varoqui@opensvc.com>2010-05-21 16:41:30 +0200
committerChristophe Varoqui <christophe.varoqui@opensvc.com>2010-05-21 16:41:30 +0200
commit1098120a420ad7f892abab2801872d70c87ac3a3 (patch)
tree30d9e62f2a838e83d22c8e584d7c0b80ee95e7d4 /libmultipath/prioritizers/emc.c
parent6c07072b8dd5171a429cb6a995f6dbb5a41b0803 (diff)
downloadmultipath-tools-1098120a420ad7f892abab2801872d70c87ac3a3.tar.gz
multipath-tools-1098120a420ad7f892abab2801872d70c87ac3a3.tar.bz2
multipath-tools-1098120a420ad7f892abab2801872d70c87ac3a3.zip
Prioritizers enhancement
1/ add the 'prio_args' config keyword to allow passing arguments to the getprio function 2/ merge the datacore prioritizer. Adapt the legacy datacore prioritizer callout to the libprio framework. First use of the 'prio_args' 3/ fix the 'show config' multipathd cli command to display the prio and prio_args values. Also fix a bunch of other values affected by the same bug (features, ...). 4/ update docs 5/ remove some heading whitespaces 6/ remove useless prioritizers include files
Diffstat (limited to 'libmultipath/prioritizers/emc.c')
-rw-r--r--libmultipath/prioritizers/emc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmultipath/prioritizers/emc.c b/libmultipath/prioritizers/emc.c
index 61d7a77..bbf5750 100644
--- a/libmultipath/prioritizers/emc.c
+++ b/libmultipath/prioritizers/emc.c
@@ -73,7 +73,7 @@ out:
return(ret);
}
-int getprio (struct path * pp)
+int getprio (struct path * pp, char * args)
{
return emc_clariion_prio(pp->dev, pp->fd);
}