[pve-devel] [PATCH v4 container 0/5] lxc clone/move volume patches
Wolfgang Bumiller
w.bumiller at proxmox.com
Tue Oct 10 10:14:58 CEST 2017
Changes since v3:
* Patch 2:
- don't mount to /tmp due to permission issues
- perform mount© with an unshared mount namespace
- now requires the pve-common patch for PVE::Tools::run_fork
* Patch 3:
- refactor locking as suggested by fabian
- use remove_lock instead of manually removing $conf->{lock}
* Patch 4:
- add is_volume_in_use_by_snapshots instead of a snapshot-only
parameter for is_volume_in_use
* Patch 5:
- dropped some unused parameters
- improved locking
- added some missing eval/warns
Wolfgang Bumiller (5):
factor out disk allocation+formatting for reuse
implement copy_volume
use copy_volume for full clones
config: is_volume_in_use: ability to search only snapshots
add move_volume api call
src/PVE/API2/LXC.pm | 364 ++++++++++++++++++++++++++++++++++++--------------
src/PVE/CLI/pct.pm | 1 +
src/PVE/LXC.pm | 173 +++++++++++++++++++-----
src/PVE/LXC/Config.pm | 24 +++-
4 files changed, 426 insertions(+), 136 deletions(-)
--
2.11.0
More information about the pve-devel
mailing list