Open main menu

OpenVZ Virtuozzo Containers Wiki β

Download/ploop/1.10/changes

< Download‎ | ploop‎ | 1.10
Revision as of 18:31, 21 November 2013 by Kir (talk | contribs) (more #2812 related changes)

Changes

Since version 1.9

New functionality

  • Added check for and repair of sparse images
  • ploop check: long options support
  • ploop check: add --raw, --repair-sparse
  • ploop-check: add -b BLOCKSIZE argument
  • ploop-check: accept DiskDescriptor.xml argument
  • ploop umount -d: allow to specify partition device (#2788)
  • mount.ploop: implement -v and -f options, as per mount(8)
  • umount.ploop: add -n option (ignored)
  • mount.ploop: add -s (ignored) and -* (reported as error)
  • Added ploop info -s
  • ploop init: use v2 format by default

Fixes

  • ploop_get_devs(): fix snprintf usage
  • ploop_global_lock(): create lockdir if not exist (#2767)
  • ploop_grow_delta_offline(): Fix uninitialized struct
  • ploop_ioff_to_sec(): fix for v2
  • lib/ploop.h: include sys/syscall.h (Debian bug #728173)
  • umount.ploop: fixed (#2788)
  • get_image_param(): added online (from sysfs) and offline (from image) cases
  • make_fs(): turn off periodic fs checks (#2769)
  • ploop_store_diskdescriptor(): check rename()
  • ploop_store_diskdescriptor(): don't return -1
  • resize_gpt_partition(): check fsync()
  • ploop_balloon_change_size(): don't pass -1 to close()
  • ploop_grow_image(): fix an error check
  • Don't ignore chmod() failures
  • print_output(): fix output truncation

Improvements

  • Support RHEL5/e4fsutils (tune4fs, dumpe4fs) (#2812)
  • do_lock(): open file in read/write mode (#2730)
  • ploop_send: use ioctl_device for PLOOP_IOC_SYNC
  • use access() not stat() where possible
  • umount.ploop: improve mtab handling
  • mount.ploop: use case in option parsing
  • {mount,umount}.ploop: don't hardcore ploop path
  • ploop-check.c: rename uppercased functions
  • ploop snapshot-list usage: fit to 80 cols
  • fsck: use fsck.ext4 not e2fsck (#2812)
  • check_size(): limit max ploop size to 16T
  • ploop_resize_image(): fail if umount failed
  • print_output(): improve output
  • ploop_mount(): fix/improve error message
  • dumpe2fs(): don't hardcode path to dumpe2fs
  • print_output(): use our own default PATH
  • do_umount(): refactor and improve

Documentation

  • ploop(8): fix ploop umount -d description
  • ploop(8): fix ploop mount -d description
  • ploop usage: update ploop check synopsys

Build system

  • Makefile.inc: add -Wformat-security
  • Makefile.inc: proper LIBDIR for Debian case
  • Makefile.inc: add CPPFLAGS to CFLAGS
  • Makefile.inc: prepend, not append, debug CFLAGS
  • setver.sh: introduce build id
  • setver.sh: use getopt

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

Thanks

OpenVZ project would like to thank the following people who contributed patches and/or provided bug reports for this ploop release (in no particular order):

  • Ola Lundqvist
  • Stefan Schlesinger
  • Thorsten Schifferdecker
  • Paparaciz
  • Pavel Odintsov
  • Aaron M. Ucko
  • Blueicefield