[dm-devel] dm-multipath MP_RETRY_PG_INIT patch

Jitendra Bhivare jitendra.bhivare at gmail.com
Wed Jun 27 06:25:38 UTC 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20070627/3d7bd1dc/attachment.htm>


More information about the dm-devel mailing list