multipath-tools: service mode changes for RDAC storage
authorMoger, Babu <Babu.Moger@netapp.com>
Mon, 29 Aug 2011 16:24:37 +0000 (12:24 -0400)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Thu, 1 Sep 2011 06:41:50 +0000 (08:41 +0200)
commit4050f1edc37ae5b327be51c4dffb071955c45cb2
tree48757fee6dd6f2027145dae51d6028dabc732e90
parentfa7074f35c67ff1ef29f1aea5a484c5dea25863a
multipath-tools: service mode changes for RDAC storage

This patch was not picked up yet, so resubmitting it again. There no change except it was generated on top of the latest file.

This patch handles the recent changes in NetApp RDAC storage firmware to report service mode. Firmware changed the inquiry page 0xc9 to report service mode. Purpose this change is to avoid DMMP going into infinite loop of switching back and forth between controllers when a controller is placed in service mode. This fixes the problem and reports the path as failed if the controller is placed in service mode.

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