From 1098120a420ad7f892abab2801872d70c87ac3a3 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Fri, 21 May 2010 16:41:30 +0200 Subject: 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 --- libmultipath/prioritizers/emc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmultipath/prioritizers/emc.c') 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); } -- cgit v1.2.3