Skip to content
Snippets Groups Projects
Commit ef266ede authored by scjody's avatar scjody
Browse files

Branch HEAD

Format ldiskfs2 backing filesystems with uninit_groups.

b=11981
i=adilger
i=alex
parent 78377ff4
No related branches found
No related tags found
No related merge requests found
......@@ -523,9 +523,15 @@ int make_lustre_backfs(struct mkfs_opts *mop)
strcat(mop->mo_mkfsopts, " -q");
}
/* Enable hashed b-tree directory lookup in large dirs bz6224 */
if (strstr(mop->mo_mkfsopts, "-O") == NULL) {
/* Enable hashed b-tree directory lookup in large dirs
bz6224 */
strcat(mop->mo_mkfsopts, " -O dir_index");
/* ldiskfs2: do not initialize all groups. */
if (mop->mo_ldd.ldd_mount_type == LDD_MT_LDISKFS2) {
strcat(mop->mo_mkfsopts, ",uninit_groups");
}
}
/* Allow reformat of full devices (as opposed to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment