Whamcloud - gitweb
filefrag: Fix calculation of ideal number of extents
authorTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2008 19:48:28 +0000 (15:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2008 19:58:37 +0000 (15:58 -0400)
commita8fbdc09507c28510899eee408e6b11b3009c6c3
treee81e51caefcb64c5dfb3789ba1a606845758f7fa
parentaf773654b2faf1d001fa2fa6b929a67ce7c7ca00
filefrag: Fix calculation of ideal number of extents

Fix calculation of the ideal number of extents needed for a file to
take into account sparse files.

In addition, suppress the "this file is extent-based" message unless
verbose mode is enabled.

Addresses-Debian-Bug: #458306

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/filefrag.c