Whamcloud - gitweb
resize2fs: fix overly-pessimistic calculation of minimum size required
authorTheodore Ts'o <tytso@mit.edu>
Sun, 27 Apr 2014 02:08:02 +0000 (22:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 5 May 2014 03:15:49 +0000 (23:15 -0400)
commitb4f30fcfe66c76a95689b9a39c229cef2446b385
treebd0adc22771e4fac6aadb628f70521f6deca102f
parent7664c7538a11ca03d569008e6c999d525b6ea8ed
resize2fs: fix overly-pessimistic calculation of minimum size required

For extent-mapped file systems, we need to reserve some extra space in
case we need to grow the extent tree.  Calculate the safety margin
more intelligently, so we don't overestimate the amount of space
required.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reported-by: Dmitry Monakhov <dmonakhov@openvz.org>
resize/resize2fs.c