[pve-devel] [PATCH storage 0/2] LIO: fix tainted config and minor cleanup

Stoiko Ivanov s.ivanov at proxmox.com
Mon Oct 12 17:34:56 CEST 2020


This patchset follows the fix in 609f117ff24d2cff6b155e1d4b1175ceebe5bd7b.
Since several operations rely on values read from the remote target's
LIO config (which is tainted), this patchset untaints the settings, which are
actually needed (and stores only those), while reading the config.

The second patch removes two small left-over statements, which confused me
while debugging.

Tested very roughly (adding disks, create/rollback snapshot, remove disk) on
a VM backed by a LIO-iSCSI target.

Stoiko Ivanov (2):
  LIO: untaint values read from remote config
  LIO: drop unused statements

 PVE/Storage/LunCmd/LIO.pm | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

-- 
2.20.1






More information about the pve-devel mailing list