Re: [PATCH 5/5] mpathpersist: add support for prkeys file

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

 



On Fri, 2017-09-08 at 13:45 -0500, Benjamin Marzinski wrote:
> When the reservation_key is set to "file", the reservation key needs
> to
> be added to the prkeys file for multipathd to be able to register new
> paths as they are added to the device.  This patch adds support to
> the
> mpathpersist command to message multipathd when a key is registered
> or
> unregistered to either add or remove the mapping from the prkeys
> file.
> 
> With these changes, once a device is configured to use the prkeys
> file,
> running mpathpersist commands will automatically update the prkeys
> file
> as necessary.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
> ---
>  libmpathpersist/mpath_persist.c  | 42 +++++++++++++++++++++++++-----
> ----------
>  libmpathpersist/mpath_updatepr.c | 10 ++++++++++
>  libmpathpersist/mpathpr.h        |  1 +
>  3 files changed, 37 insertions(+), 16 deletions(-)
> 

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

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