* [ANNOUNCE] block layer (request based) multipath v1
@ 2005-10-19 6:20 Mike Christie
2005-10-20 13:53 ` Christophe Varoqui
0 siblings, 1 reply; 5+ messages in thread
From: Mike Christie @ 2005-10-19 6:20 UTC (permalink / raw)
To: axboe, dm-devel, linux-scsi
Version 1 and maybe the only version :)
I have pretty much completely convert dm-multipath to blk_mpath. I
converted the hw handlers (including the out of tree hp-sw and
engenio-rdac ones) and implemented the emc sense code for Read/Write
errors. The next task would be to completely convert the open source
Engenio driver which I had started doing for dm-multipath and the eroro
code patches but ended up having problems with the sense decoding.
The large patch is here
http://www.cs.wisc.edu/~michaelc/block/blk_mpath/blk_mpath3.patch
I think the only items I have left to convert are some of the dm ioctls,
but that is trivial and the defaults are ok for usage. For example I
have not implemted a sysfs attr to read/write queue_if_no_path and a
timeout attr so we do not have to wait forever on it.
Comments???? Should I work with Christophe to convert the userspace tools?
Changed since last post:
- Fixed partial completion code to support existing scenarios
(for example SCSI MEDIUM ERRORS where the head is completed ok but the
end could end up failed or ok)
- converted dm-hw_handler code
- Completely converted dm-emc.c including adding RW error sense code
- Added hp-sw and engenio rdac code for failover. I will send sense code
support when finished gettitng access from OSDL and can test that code,
but it should basically work but just not so effeciently and when doing
snapshots or backups or firmware upgrades or other features. Maybe
Engenio could just implement this now since all the pieces are there,
except maybe controller representation, or at least give me some docs so
I do not have to guess about some of the code in the GPL driver :)
- Added a path state sysfs attr for onlining paths. Userspace can online
a path and do failback now.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCE] block layer (request based) multipath v1
2005-10-19 6:20 [ANNOUNCE] block layer (request based) multipath v1 Mike Christie
@ 2005-10-20 13:53 ` Christophe Varoqui
2005-10-20 20:05 ` Mike Christie
0 siblings, 1 reply; 5+ messages in thread
From: Christophe Varoqui @ 2005-10-20 13:53 UTC (permalink / raw)
To: device-mapper development
On Wed, Oct 19, 2005 at 01:20:44AM -0500, Mike Christie wrote:
> Version 1 and maybe the only version :)
>
...
>
> I think the only items I have left to convert are some of the dm ioctls,
> but that is trivial and the defaults are ok for usage. For example I
> have not implemted a sysfs attr to read/write queue_if_no_path and a
> timeout attr so we do not have to wait forever on it.
>
> Comments???? Should I work with Christophe to convert the userspace tools?
>
Nice,
can libdevmapper event listening mecanisms be replaced by the uevents listener ?
IOW, will all necessary attribute changes be reported as uevents ?
Events needed are :
- multipath topology changes :
- path add/remove (well, this one is guarantied through /block I guess)
- attributes changes
- path state changes / path reinstates
- path group switches
- multipath add/remove (Deduce from /block uevents ?)
Regards,
cvaroqui
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCE] block layer (request based) multipath v1
2005-10-20 13:53 ` Christophe Varoqui
@ 2005-10-20 20:05 ` Mike Christie
2005-10-20 20:08 ` Mike Christie
2005-10-20 20:08 ` Alasdair G Kergon
0 siblings, 2 replies; 5+ messages in thread
From: Mike Christie @ 2005-10-20 20:05 UTC (permalink / raw)
To: device-mapper development
Christophe Varoqui wrote:
> On Wed, Oct 19, 2005 at 01:20:44AM -0500, Mike Christie wrote:
>
>>Version 1 and maybe the only version :)
>>
>
> ...
>
>>I think the only items I have left to convert are some of the dm ioctls,
>>but that is trivial and the defaults are ok for usage. For example I
>>have not implemted a sysfs attr to read/write queue_if_no_path and a
>>timeout attr so we do not have to wait forever on it.
>>
>>Comments???? Should I work with Christophe to convert the userspace tools?
>>
>
> Nice,
>
> can libdevmapper event listening mecanisms be replaced by the uevents listener ?
> IOW, will all necessary attribute changes be reported as uevents ?
It looks like I am going to redo the patches and make it so dm call
request_fns. So we are basicall going to fix up dm-multipath instead of
making yet another multipath driver :)
>
> Events needed are :
> - multipath topology changes :
> - path add/remove (well, this one is guarantied through /block I guess)
> - attributes changes
> - path state changes / path reinstates
> - path group switches
> - multipath add/remove (Deduce from /block uevents ?)
>
I was just wondering where is all this netlink stuff? I have not seen a
dm-netlink interface patch. Are you just keying of events from the
kobject stuff?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCE] block layer (request based) multipath v1
2005-10-20 20:05 ` Mike Christie
@ 2005-10-20 20:08 ` Mike Christie
2005-10-20 20:08 ` Alasdair G Kergon
1 sibling, 0 replies; 5+ messages in thread
From: Mike Christie @ 2005-10-20 20:08 UTC (permalink / raw)
To: device-mapper development
Mike Christie wrote:
>
> I was just wondering where is all this netlink stuff? I have not seen a
> dm-netlink interface patch. Are you just keying of events from the
> kobject stuff?
>
Nevermind I see Ed's mail.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ANNOUNCE] block layer (request based) multipath v1
2005-10-20 20:05 ` Mike Christie
2005-10-20 20:08 ` Mike Christie
@ 2005-10-20 20:08 ` Alasdair G Kergon
1 sibling, 0 replies; 5+ messages in thread
From: Alasdair G Kergon @ 2005-10-20 20:08 UTC (permalink / raw)
To: device-mapper development
On Thu, Oct 20, 2005 at 03:05:10PM -0500, Mike Christie wrote:
> I was just wondering where is all this netlink stuff? I have not seen a
> dm-netlink interface patch.
That's what we need IMHO.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-10-20 20:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-19 6:20 [ANNOUNCE] block layer (request based) multipath v1 Mike Christie
2005-10-20 13:53 ` Christophe Varoqui
2005-10-20 20:05 ` Mike Christie
2005-10-20 20:08 ` Mike Christie
2005-10-20 20:08 ` Alasdair G Kergon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.