Re: [PATCH] multipath: call store_pathinfo with DI_BLACKLIST

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

 



On Mon, 2019-06-03 at 14:29 -0500, Benjamin Marzinski wrote:
> Commit ca19f865f moved adding DI_BLACKLIST to the pathinfo flags out
> of
> store_pathinfo(), but it didn't add it to all of the necessary
> callers.
> Without this, store_pathinfo() callers can do unnecessary extra work,
> including running the path checker on blacklisted devices. Also,
> running
> 
> multipathd add path <blacklisted_path_device>
> 
> will add a blacklisted path.
> 
> Fixes: ca19f865f "libmultipath: add 'cmd' as argument for
> get_refwwid()"
> Cc: Hannes Reinecke <hare@xxxxxxxx>
> Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
> ---
>  libmultipath/discovery.c  | 3 ++-
>  multipathd/cli_handlers.c | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>


--
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