From: scjody Date: Mon, 13 Aug 2007 17:33:52 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~1343 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=f9593e00db0b1a213cffe3e630b88f006aacabbc;p=fs%2Flustre-release.git Branch b1_6 Enable uninit_groups feature by default for ldiskfs. --- diff --git a/lustre/utils/mkfs_lustre.c b/lustre/utils/mkfs_lustre.c index b846448..9916196 100644 --- a/lustre/utils/mkfs_lustre.c +++ b/lustre/utils/mkfs_lustre.c @@ -546,13 +546,9 @@ int make_lustre_backfs(struct mkfs_opts *mop) if (strstr(mop->mo_mkfsopts, "-O") == NULL) { /* Enable hashed b-tree directory lookup in large dirs - bz6224 */ - strscat(mop->mo_mkfsopts, " -O dir_index", + bz6224, and don't initialize all groups. */ + strscat(mop->mo_mkfsopts, " -O dir_index,uninit_groups", sizeof(mop->mo_mkfsopts)); - /* ldiskfs2: do not initialize all groups. */ - if (mop->mo_ldd.ldd_mount_type == LDD_MT_LDISKFS2) - strscat(mop->mo_mkfsopts, ",uninit_groups", - sizeof(mop->mo_mkfsopts)); } /* Allow reformat of full devices (as opposed to