Whamcloud - gitweb
LU-419 increase default inode ratio for OST/MDT
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 17 Jun 2011 08:48:33 +0000 (02:48 -0600)
committerJohann Lombardi <johann@whamcloud.com>
Fri, 15 Jul 2011 06:13:52 +0000 (23:13 -0700)
commit438c81791e3ce8582d12776d93a27e111d438cdb
treef226e95aa5b90b2aa21a78b09f255419ae41e0f2
parent78dde2206d49901e7315d07edf9eefdc8383d96c
LU-419 increase default inode ratio for OST/MDT

Increase the default inode ratio for large OSTs to avoid creating
far too many inodes, which can slow down e2fsck dramatically.

Decrease the default inode ratio for the MDT, since it never uses
the space that is allocated to it.  Also make this calculation take
the expected stripe EA into account, which wasn't done before.

Change-Id: Ic827d5f7a012fa07106e7e053abc0e646aba30ac
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/959
Tested-by: Hudson
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/utils/mkfs_lustre.c