OSDN Git Service

tune2fs: enable uninit_bg when disabling metadata_csum
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 14 Dec 2014 02:58:26 +0000 (21:58 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Dec 2014 02:58:26 +0000 (21:58 -0500)
commit052795e63094809e105ef911170a58f10919769c
treec7e5246558ba7a592cd69d0327e2794311a86a5d
parenta742a128a04109a7c59a8520ec84674e17e35b1e
tune2fs: enable uninit_bg when disabling metadata_csum

If we're disabling metadata_csum and the user doesn't provide explicit
instructions to enable or disable uninit_bg, assume that they want
uninit_bg to be turned on by default.  Otherwise, we lose all block
group flags and unused inode count, which is a big hit to performance.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c