All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] libmpathpersist: reserve and release fixes
@ 2025-06-04  3:35 Benjamin Marzinski
  2025-06-04  3:35 ` [PATCH 1/2] libmpathpersist: retry commands on other paths in mpath_prout_common Benjamin Marzinski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Benjamin Marzinski @ 2025-06-04  3:35 UTC (permalink / raw)
  To: Christophe Varoqui; +Cc: device-mapper development, Martin Wilck

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-11 20:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04  3:35 [PATCH 0/2] libmpathpersist: reserve and release fixes Benjamin Marzinski
2025-06-04  3:35 ` [PATCH 1/2] libmpathpersist: retry commands on other paths in mpath_prout_common Benjamin Marzinski
2025-06-04  3:35 ` [PATCH 2/2] libmpathpersist: check released key against the reservation key Benjamin Marzinski
2025-06-11 20:12 ` [PATCH 0/2] libmpathpersist: reserve and release fixes Martin Wilck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.