[PATCH v4 storage 0/1] fix #254: iscsi: add support for multipath iscsi targets

Yuri Konotopov ykonotopov at gnome.org
Sat Oct 21 11:37:30 CEST 2023


Changes since v3:
 * drop redundant `m` modifier from `ISCSI_TARGET_RE` regexp
 * drop redundant group from `iscsi_session_list` regexp
 * improve stop loop condition in `iscsi_discovery`

Changes since v2:
 * custom configuration file is removed in favor of open-iscsi query
 * restored `portal` property format since we should not rely on initial
   configuration but should use discovered configuration instead
 * changed check_connection() to query all available portals
 * style fixes

Changes since v1:
 * added configuration file that stores discovered portals
 * implemented iscsi login in case there missing sessions for any of portals
 * style fixes
 * use existent `-list` property format instead of custom one
 * use PVE::Tools::split_list() instead of custom split function

Yuri Konotopov (1):
  fix #254: iscsi: add support for multipath iscsi targets

 PVE/Storage.pm             |   2 +-
 PVE/Storage/ISCSIPlugin.pm | 117 ++++++++++++++++++++++++++++---------
 2 files changed, 89 insertions(+), 30 deletions(-)

-- 
2.41.0





More information about the pve-devel mailing list