[dm-devel] [PATCH 11/12] multipath: check failed path dmstate in check_path

Martin Wilck mwilck at suse.com
Thu Dec 7 22:14:41 UTC 2017


On Thu, 2017-12-07 at 12:49 -0600, Benjamin Marzinski wrote:
> If a path's checker state is down before and after a path check, but
> the
> path's dmstate is active, mutipath won't update the dmstate. It only
> updates the dmstate when the path first fails.  This can cause the
> kernel to try known faulty paths, if the multipath device was
> reloaded
> outside of multipathd.  check_path() already checks for and deals
> with a
> similar case where the path's checker state is up before and after a
> path check, but the dmstate is failed.  It should do the same thing
> for
> faulty paths.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---

Reviewed-by: Martin Wilck <mwilck at suse.com>

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)




More information about the dm-devel mailing list