[pve-devel] [PATCH storage 0/2] unify generating disknames finding in all plugins

Stoiko Ivanov s.ivanov at proxmox.com
Wed Aug 22 15:41:58 CEST 2018


This patchset is a follow up to the fix for #1858, in order to avoid
similar bugs in the future, by generating the next diskname at one place
(Plugin.pm) for all plugins.



Stoiko Ivanov (2):
  add generic get_next_vm_diskname sub
  refactor finding next diskname for all plugins

 PVE/Storage/DRBDPlugin.pm      | 15 ++------------
 PVE/Storage/GlusterfsPlugin.pm | 27 +++++++++-----------------
 PVE/Storage/LVMPlugin.pm       | 20 ++++---------------
 PVE/Storage/LvmThinPlugin.pm   |  4 ++--
 PVE/Storage/Plugin.pm          | 44 +++++++++++++++++++++++++++++++-----------
 PVE/Storage/RBDPlugin.pm       | 15 +++-----------
 PVE/Storage/SheepdogPlugin.pm  | 17 ++--------------
 PVE/Storage/ZFSPoolPlugin.pm   | 16 ++-------------
 8 files changed, 57 insertions(+), 101 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list