multipath-tools: report different piority value for rdac if io-shipping is enabled
authorMoger, Babu <Babu.Moger@lsi.com>
Fri, 8 Apr 2011 19:06:15 +0000 (13:06 -0600)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Sat, 9 Apr 2011 07:49:47 +0000 (09:49 +0200)
commit8092493275bf6733e1e9db7922ce208026a70e33
treef60ea8a601e5510ee56b03c44b0c4572fc9ae363
parent1fca159d4589bd37c3ef575be05a0085ece82f77
multipath-tools: report different piority value for rdac if io-shipping is enabled

This patch adds code to report different priority value if the storage is configured with io-shipping.
It sets  the bit 3 if io-shipping is enabled. This is to differentiate between different modes.

Signed-off-by: Babu Moger <babu.moger@lsi.com>
Reviewed-by : Yanling Qi <yanling.qi@lsi.com>
Reviewed-by : Somasundaram Krishnasamy <Somasundaram.Krishnasamy@lsi.com>
libmultipath/prioritizers/rdac.c