diff options
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | 2009-09-18 10:37:53 +0900 |
---|---|---|
committer | Christophe Varoqui <christophe.varoqui@free.fr> | 2009-09-20 10:30:35 +0200 |
commit | 6a3b111e5e1fb6661a6fe4ff5a44397128279a10 (patch) | |
tree | 099c7578b568a0e19d14e88c86a46bff6067d20b | |
parent | f79af2223cfff2d5d7a2d722a8c9d04bdc176d9e (diff) | |
download | multipath-tools-6a3b111e5e1fb6661a6fe4ff5a44397128279a10.tar.gz multipath-tools-6a3b111e5e1fb6661a6fe4ff5a44397128279a10.tar.bz2 multipath-tools-6a3b111e5e1fb6661a6fe4ff5a44397128279a10.zip |
queue-length/service-time path selectors map parser fix
Actual device configuration seems to be working fine, but the getting
information from the configured device seems to be failing due to
table parsing problem in disassemble_map().
I guess the attached patch works around the problem. Please try it.
Please note that this patch may *NOT* be a complete fix.
Some more codes for new dynamic load balancers may be needed.
-rw-r--r-- | libmultipath/dmparser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmultipath/dmparser.c b/libmultipath/dmparser.c index 7169467..1ef3aad 100644 --- a/libmultipath/dmparser.c +++ b/libmultipath/dmparser.c @@ -323,8 +323,10 @@ disassemble_map (vector pathvec, char * params, struct multipath * mpp) def_minio /= pp->priority; FREE(word); - } else + } else { + p += get_word(p, NULL); def_minio = 0; + } if (def_minio != mpp->minio) mpp->minio = def_minio; |