Following Stoiko's review, I refactored the LIO code according to his remarks, dropping some unneeded code copied from the iet implementation.
Instead of (ab)using the comstar_tg property, I've introduced a new "lio_tpg" property. So if you apply this patch, be sure to also apply the fitting patch for the pve-manager, adding this property to the UI. And finally I've squashed all previous commits into just one. Udo Rader (1): Linux LIO/targetcli support PVE/Storage/LunCmd/LIO.pm | 387 ++++++++++++++++++++++++++++++++++++ PVE/Storage/LunCmd/Makefile | 2 +- PVE/Storage/ZFSPlugin.pm | 12 +- 3 files changed, 399 insertions(+), 2 deletions(-) create mode 100644 PVE/Storage/LunCmd/LIO.pm -- 2.18.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel