diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-15 09:43:04 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-15 16:15:44 +0000 |
commit | d9bdb9587b4e1cad0c3e9997ea7d2b2a07aed0ad (patch) | |
tree | 0e1745b31d42da17281edf59c8b1dc11480e84fd /src/MAX_PROC_NR | |
parent | 7934ea2395d2a417fbc20efc22573113f7ae9d7a (diff) | |
download | libguestfs-d9bdb9587b4e1cad0c3e9997ea7d2b2a07aed0ad.tar.gz libguestfs-d9bdb9587b4e1cad0c3e9997ea7d2b2a07aed0ad.tar.xz libguestfs-d9bdb9587b4e1cad0c3e9997ea7d2b2a07aed0ad.zip |
New API: zero_free_space: zero free space in a filesystem.
Add an API for doing what virt-sparsify was doing: freeing up free
space in a filesystem.
The current implementation is simple-minded: we create a file, fill it
with zeroes until we run out of space, then delete the file. However
the description leaves it open to do a better implementation, eg.
using sparsification support that is currently being worked on in ext4
and qemu.
The implementation also sends progress notifications, which is an
advantage over the old 'dd' method.
Diffstat (limited to 'src/MAX_PROC_NR')
-rw-r--r-- | src/MAX_PROC_NR | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MAX_PROC_NR b/src/MAX_PROC_NR index 54ea97e9..b661fff6 100644 --- a/src/MAX_PROC_NR +++ b/src/MAX_PROC_NR @@ -1 +1 @@ -310 +311 |