[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH 0/3] add path-selector init function
- From: Mike Christie <mikenc us ibm com>
- To: device-mapper development <dm-devel redhat com>
- Subject: Re: [dm-devel] [PATCH 0/3] add path-selector init function
- Date: Mon, 24 May 2004 18:00:19 -0700
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 us ibm com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]