These are two patches libmpathpersist patches. The first deals with a possible race condition where mpath_prout_common() can fail because a path went down after libmpathpersist checked its status but before it handled the prout command. Previously libmpathpersist wouldn't fail without ever trying another path in these cases. The second patch keeps libmpathpersit from being able to remove a reservation that is held by a different key than the releasing device.
Benjamin Marzinski (2): libmpathpersist: retry commands on other paths in mpath_prout_common libmpathpersist: check released key against the reservation key libmpathpersist/mpath_persist.h | 3 +++ libmpathpersist/mpath_persist_int.c | 20 ++++++++++++++++---- libmpathpersist/mpath_pr_ioctl.c | 24 +++++++++++++----------- 3 files changed, 32 insertions(+), 15 deletions(-) -- 2.48.1