ps-manual-failover-exp.patch - this is just an exmaple of how you could use
the init function. Please do not apply it. It was written based on some
other
patches, and I am trying to make it more generic so we can support other
HW.
I am only sending it becuase I am not sure if the functions I am using to
send the failover command are correct and I am looking for feedback.
For the failover command I am currently hardcoding the format in the path-selector.
This seems like such a waste becuase if you look at sg io code (block/scsi_ioctl.c
for example), you can just pass in the command you want to execute. Is there any way
I could pass in such a thing when my target is created, so that way dm multipath
would not have any type of command format functions/modules or definitions
(it could just be passed in and built like the sg io code).
--
Mike Christie
mikenc@xxxxxxxxxx