Commits
Kir Kolyshkin authored 693a2b61259
ploop balloon discard: add ability to restrict a minimal size of relocated extents NB: this requires kernel 042stab056.5 or later All extents, which size is less than a defined value, will not be relocated. v2: fix overflow (u32 * u32 is u32. Not u64.) use minlen_b (bytes) and minlen_c (clusters) fix parsing of long options [kir@openvz.org fixes: - fix usage (proper description of new options) - use parse_size for parsing --to-free argument - get block size from /proc - add a comment why we don't return an error if PLOOP_IOC_FBGET returned 0 extents - ploop balloon discard: fix error message and exit code if --to-free is less than 1 cluster - rename a variable: blocksize -> cluster, use S2B macro to convert ] Acked-by: "Maxim V. Patlasov" <mpatlasov@openvz.org> Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org>