Format MDT with "large_dir" option by default,
to get over the 10M-entry limit for the directories.
Lustre-change: https://review.whamcloud.com/36555
Lustre-commit:
cd1faa0124f21e12a5ecd83c709c13918264fc86
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: Ie51e6ce28b5f00adc9958de24794a760d9b43b77
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Artem Blagodarenko <c17828@cray.com>
Reviewed-by: Stephan Thiell <sthiell@stanford.edu>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36781
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
if (enable_64bit)
append_unique(anchor, ",", "64bit", NULL, maxbuflen);
+ /* Allow more than 10M directory entries */
+ if (is_e2fsprogs_feature_supp("-O large_dir") == 0)
+ append_unique(anchor, ",", "large_dir", NULL, maxbuflen);
+
/* Cluster inode/block bitmaps and inode table for more efficient IO.
* Align the flex groups on a 1MB boundary for better performance. */
/* This -O feature needs to go last, since it adds the "-G" option. */