[PATCH 0/2] libmpathpersist: reserve and release fixes

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

 



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





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

  Powered by Linux