Editing Download/ploop/1.5/changes
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Compatibility notes == | == Compatibility notes == | ||
* this version requires running vzkernel >= 2.6.32-042stab061.1 | * this version requires running vzkernel >= 2.6.32-042stab061.1 | ||
− | * | + | * snapshots created by old ploop tools are not compatible with this version |
* there were a few incompatible library API changes, see below | * there were a few incompatible library API changes, see below | ||
== Changes == | == Changes == | ||
− | Since | + | Since {{dlink|ploop|1.4}} |
− | + | '''New functionality:''' | |
− | '''New functionality''' | ||
* switch from old /dev/ploop/ symlink-based to new in-kernel cookie registration | * switch from old /dev/ploop/ symlink-based to new in-kernel cookie registration | ||
* snapshots: switch to schema with constant top delta uuid | * snapshots: switch to schema with constant top delta uuid | ||
Line 21: | Line 20: | ||
* ploop list: implement | * ploop list: implement | ||
* /sbin/mount.ploop: do load ploop modules | * /sbin/mount.ploop: do load ploop modules | ||
− | + | '''Bug fixes:''' | |
− | '''Bug fixes''' | ||
* do not crash on empty DiskDescriptor.xml (libxml2 workaround) | * do not crash on empty DiskDescriptor.xml (libxml2 workaround) | ||
* ploop convert: fix converting from expanded to raw | * ploop convert: fix converting from expanded to raw | ||
Line 28: | Line 26: | ||
* ploop copy: do not leak opened fds | * ploop copy: do not leak opened fds | ||
* ploop create: fix gpt partition creation to be 4096 aligned | * ploop create: fix gpt partition creation to be 4096 aligned | ||
− | |||
* tools: few exit code fixes | * tools: few exit code fixes | ||
* multiple usage, log and error message fixes | * multiple usage, log and error message fixes | ||
− | + | '''Library API changes:''' | |
− | '''Improvements''' | + | * implement dynamic library loading via ploop_resolve_functions() |
+ | * introduce optimized ploop_get_info_by_descr(), remove ploop_get_info() | ||
+ | * replace ploop_{alloc,read}_diskdescriptor() with ploop_read_disk_descr() | ||
+ | * remove ploop_getdevice() | ||
+ | '''Improvements:''' | ||
* ploop mount: check that mount point is a directory | * ploop mount: check that mount point is a directory | ||
* ploop umount: reduce retry count from 60 to 6 | * ploop umount: reduce retry count from 60 to 6 | ||
− | |||
* ploop create: for prealloc image, use ftruncate if fallocate not supported | * ploop create: for prealloc image, use ftruncate if fallocate not supported | ||
* ploop create, resize: add check for correct block device size | * ploop create, resize: add check for correct block device size | ||
* scripts: de-bash-ify | * scripts: de-bash-ify | ||
* assorted code refactoring, cleanups and nitpicks | * assorted code refactoring, cleanups and nitpicks | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |