Download/ploop/1.6/changes

From OpenVZ Virtuozzo Containers Wiki
< Download‎ | ploop‎ | 1.6
Revision as of 21:09, 14 January 2013 by Kir (talk | contribs) (this change was rolled back)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Compatibility notes

  • this version requires statically built resize2fs, available from OpenVZ repository (e2fsprogs-resize2fs-static rpm)
  • if you have ploop packages installed on a RHEL5 (CentOS 5) system, please remove those manually

Changes

Since version 1.5

New functionality

  • offline image shrink support
  • tools: added snapshot-list functionality
  • extend switch snapshot functionality: ploop_switch_snapshot_ex()
  • ploop.spec: disable udev iosched config for ploop devices
  • ploop list: added functionality to list mount points

Bug fixes

  • ploop_mount_fs(): use mount_data for first mount
  • ploop_mount(): do not allow to use ploop on fs w/o extents
  • ploop_{create,resize}_image(): fixed size checks and rounding
  • ploop_create_image(): fix memory leak on error path
  • ploop_get_info(): fix reported disk size after switching snapshot
  • ploop_get_info(): fix when ploop device is not mounted
  • ploop_{umount,resize}_image() and many other functions and tools: do not return -1

Improvements

  • much faster resize when using resize2fs with EXT4_IOC_RESIZE_FS support
  • ploop discard: add cancellation support
  • ploop_resize_image(): use real blocksize
  • parse_xml(): deny processing DiskDescriptor.xml with several <Storage>
  • do not auto-generate dynload.h, instead check if it's uptodate
  • create_image(): display error message for incorrect parameters case
  • introduce/use SYSEXIT_DEV_NOT_MOUNTED and SYSEXIT_FSCK errors
  • alloc_diskdescriptor(): log error if calloc() fails
  • ploop.spec: require util-linux, e2fsprogs etc.

For the complete list of changes in this release, see git changelog for ploop-1.6.