* dm-multipath MP_RETRY_PG_INIT patch
[not found] <50d45ed90706210718y4ef5d66en433c9444d227ff65@mail.gmail.com>
@ 2007-06-27 6:25 ` Jitendra Bhivare
2007-06-27 18:54 ` Mike Christie
0 siblings, 1 reply; 2+ messages in thread
From: Jitendra Bhivare @ 2007-06-27 6:25 UTC (permalink / raw)
To: dm-devel, michaelc
[-- Attachment #1.1: Type: text/plain, Size: 638 bytes --]
Hi,
In dm-multipath framework, using the hw-handler's error-function entry
point, nothing can be known about the reason for IO failure. From this
function MP_FAIL_PATH/MP_BYPASS_PG/MP_ERROR_IO can returned.
If the same path needs to be tried (i.e. in pg_init) to figure out the
reason for failure there is no way to tell that to dm-multipath.
One way to do so, is to return MP_RETRY_PG_INIT from hw_handler's
error function. This would set current_pgpath and current_pg to NULL
which would trigger pg_init. The path won't fail until pg_init says so.
Should this option MP_RETRY_PG_INIT be added to dm-multipath?
Thanks & Regards,
JB
[-- Attachment #1.2: Type: text/html, Size: 816 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: dm-multipath MP_RETRY_PG_INIT patch
2007-06-27 6:25 ` dm-multipath MP_RETRY_PG_INIT patch Jitendra Bhivare
@ 2007-06-27 18:54 ` Mike Christie
0 siblings, 0 replies; 2+ messages in thread
From: Mike Christie @ 2007-06-27 18:54 UTC (permalink / raw)
To: Jitendra Bhivare; +Cc: dm-devel
Jitendra Bhivare wrote:
> Hi,
>
> In dm-multipath framework, using the hw-handler's error-function entry
> point, nothing can be known about the reason for IO failure. From this
> function MP_FAIL_PATH/MP_BYPASS_PG/MP_ERROR_IO can returned.
> If the same path needs to be tried (i.e. in pg_init) to figure out the
> reason for failure there is no way to tell that to dm-multipath.
>
> One way to do so, is to return MP_RETRY_PG_INIT from hw_handler's
> error function. This would set current_pgpath and current_pg to NULL
> which would trigger pg_init. The path won't fail until pg_init says so.
>
> Should this option MP_RETRY_PG_INIT be added to dm-multipath?
>
I think we need something like it. What hw handler is this for? Dave W,
sent a hw handler for old boxes that need START_STOP and he sent a patch
which worked like what you describe? Have you seen his patch to this list?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-27 18:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <50d45ed90706210718y4ef5d66en433c9444d227ff65@mail.gmail.com>
2007-06-27 6:25 ` dm-multipath MP_RETRY_PG_INIT patch Jitendra Bhivare
2007-06-27 18:54 ` Mike Christie
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.