Download/ploop/1.13/changes

From OpenVZ Virtuozzo Containers Wiki
< Download‎ | ploop‎ | 1.13
Revision as of 02:22, 14 April 2015 by Kir (talk | contribs) (moar fixes)
Jump to: navigation, search

Changes

Since version 1.12.2

New functionality

  • snapshot-merge: add merge to new delta ability
  • Logging to PLOOP_LOG_FILE (if variable is defined during compilation)
  • ploop restore-descriptor: create dd.xml by image (single image only)
  • ploop replace: add -k, --keep-name to keep the replaced delta file name
  • ploop replace: implement offline replace
  • snapshot-delete: introduce specific SYSEXIT_NOSNAP error
  • Alternative (incompatible) implementation of ploop copy (C and Python API)

Fixes

  • ploop_replace_image(): fix wrt level
  • ploop grow: update size in DiskDescriptor.xml after growing
  • normalize_image_name(): fix for a corner case
  • ploop_replace_image(): always unlock dd.xml
  • {mount,umount}.ploop: fixes for filenames with spaces, tabs etc.
  • umount.ploop: fix mtab removal (#3164)
  • umount.ploop: fix for file names with a semicolon
  • scripts/mount.ploop: don't hardcode paths to modprobe and readlink
  • ploop_umount(): don't return -1, use SYSEXIT_*
  • ploop_merge_snapshot_by_guid(): fix error message, don't print (null)
  • ploop tsnapshot(): fix usage
  • grow_lower_delta(): fix a memory leak
  • ploop_merge_snapshot_by_guid(): fix error message
  • check_snapshot_mount(): add is_device_inuse() check

Improvements

  • print_sys_block_ploop(): print less info
  • Remove delta_fops abstraction layer
  • ploop merge: obsolete/disable form with DD.xml (use snapshot-merge)
  • ploop snapshot-merge: fix/improve message about merged deltas
  • find_level_by_delta(): rework/improve
  • ploop_switch_snapshot(): rm non-const cast
  • local_delta_open(): make first arg const
  • ploop_replace_image: print proper oldfile message
  • merge_image(): document the function
  • ploop_di_merge_image(): remove last argument
  • Rename get_child_by_uuid() to find_child_by_guid()
  • ploop_merge_snapshot_by_guid(): untangle MERGE_WITH_{PARENT,CHILD} mess
  • ploop_merge_snapshot_by_guid: fix ending message
  • Rework check_snapshot_mount()
  • ploop_di_merge_image: fix error messages
  • ploop_merge_snapshot_by_guid(): fix error message

Documentation

  • ploop tool: usage formatting fixes
  • ploop(8): expand description of snapshot-merge
  • ploop(8): describe replace -k, --keep-name option
  • ploop(8): describe restore-descriptor command
  • ploop(8): describe snapshot-merge -n option

Build system

  • ploop.spec: no perms for symlink
  • Makefile.inc: add VERSION and RELEASE vars to specify package version
  • setver.sh: modify to use VERSION/RELEASE from Makefile.inc
  • setver.sh: add -o, --oldpackage flag