Whamcloud - gitweb
LU-14734 osd-ldiskfs: enable large_dir automatically
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 5 Jun 2021 08:34:15 +0000 (02:34 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 15 Jul 2021 21:52:48 +0000 (21:52 +0000)
commit00be423a2e8c95d8059220e20d6e8bc6fe3c1462
tree5bb59b5616e647bdf4afa60b47ed4cd835e8dce1
parent59120a5633bb74036d43dc2bb95595cb9fd21918
LU-14734 osd-ldiskfs: enable large_dir automatically

Enable the large_dir feature automatically at mount time for
filesystems that do not have it enabled already.  Otherwise,
the REMOTE_PARENT_DIR may overflow if there are many remote
entries created, or for object directories on very large OSTs.
It isn't really needed on a dedicated MGS filesystem.

Lustre-change: https://review.whamcloud.com/43931
Lustre-commit: 0f6ace6e8edef1c08c8ef3785e9c08d21a72b34a

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I1c4ead26b09d60567ad12945d7b366b53475cebb
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44264
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h