dm-multipath MP_RETRY_PG_INIT patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux