Re: [PATCH 08/16] multipathd: print extra default reply msg for busy devices

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

 



On Tue, 2023-12-12 at 18:53 -0500, Benjamin Marzinski wrote:
> If removing a multipath device fails because the device is in use,
> return DM_FLUSH_BUSY from remove_functions, which causes
> cli_del_map()
> to return -EBUSY, which will not print extra information in
> default_reply().
> 
> Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>

This is slightly unclean, because do_foreach_partmaps() works with
generic int return codes and not with the DM_FLUSH_xyz enum. Yet:

Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>






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

  Powered by Linux