Difference between revisions of "Download/ploop/1.6/changes"

From OpenVZ Virtuozzo Containers Wiki
< Download‎ | ploop‎ | 1.6
Jump to: navigation, search
(created)
 
(this change was rolled back)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Compatibility notes ==
 
== Compatibility notes ==
 
* this version requires statically built resize2fs, available from OpenVZ repository (e2fsprogs-resize2fs-static rpm)
 
* 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 ==
 
== Changes ==
Line 31: Line 32:
 
* alloc_diskdescriptor(): log error if calloc() fails
 
* alloc_diskdescriptor(): log error if calloc() fails
 
* ploop.spec: require util-linux, e2fsprogs etc.
 
* ploop.spec: require util-linux, e2fsprogs etc.
* ploop.spec: require libs of the proper arch
 
  
 
{{git log|ploop|ploop-1.6|}}
 
{{git log|ploop|ploop-1.6|}}

Latest revision as of 21:09, 14 January 2013

Compatibility notes[edit]

  • 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[edit]

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.