Details

    • 3
    • 9223372036854775807

    Description

      Now that e2fsprogs-1.44.3 has support for large_dir, testing and enabling the large_dir support on MDTs would allow single directories to exceed the ~10M limit currently imposed by the 2-level htree. This should be done automatically for new MDTs, and the existing error message in ext4_dx_add_entry() should be updated to directly reference the large_dir feature by name instead of just "Large directory", and explain that it should be enabled by tune2fs.

      Attachments

        Issue Links

          Activity

            [LU-11546] enable large_dir support for MDTs

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/36781/
            Subject: LU-11546 utils: enable large_dir for ldiskfs
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 638638e3481f6dd3f6830e8e272362d8922c52f7

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/36781/ Subject: LU-11546 utils: enable large_dir for ldiskfs Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 638638e3481f6dd3f6830e8e272362d8922c52f7

            OK! We actually used mkfs.lustre -O large_dir,project and it worked fine. It's also easy to set using tune2fs like you said so not super critical to have it by default indeed. Thanks for the heads-up regarding the tests. Note that we have been using large_dir for months now on Fir's MDTs (2.12.x).

            sthiell Stephane Thiell added a comment - OK! We actually used mkfs.lustre -O large_dir,project and it worked fine. It's also easy to set using tune2fs like you said so not super critical to have it by default indeed. Thanks for the heads-up regarding the tests. Note that we have been using large_dir for months now on Fir's MDTs (2.12.x).

            Stephane, it is easy enough to set after formatting - "tune2fs -O large_dir <dev>". The holdup with landing the patch is that the tests written for this feature don't pass. That is mostly a problem with the tests themselves (they don't pass on master either), so either the change should be rebased to not depend on the tests, or the tests should be fixed.

            adilger Andreas Dilger added a comment - Stephane, it is easy enough to set after formatting - " tune2fs -O large_dir <dev> ". The holdup with landing the patch is that the tests written for this feature don't pass. That is mostly a problem with the tests themselves (they don't pass on master either), so either the change should be rebased to not depend on the tests, or the tests should be fixed.

            It would be nice to have this patch landed into 2.12 at some point. We just used 2.12.5 RC1 to format a MDT and large_dir was not set. With DNE and especially if we use lfs migrate -m, large_dir becomes quickly mandatory on MDTs.

            sthiell Stephane Thiell added a comment - It would be nice to have this patch landed into 2.12 at some point. We just used 2.12.5 RC1 to format a MDT and large_dir was not set. With DNE and especially if we use lfs migrate -m , large_dir becomes quickly mandatory on MDTs.

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36781
            Subject: LU-11546 utils: enable large_dir for ldiskfs
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 823fc815fe3c5e3a7e2dd8ae8f8aa4d94301c35f

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36781 Subject: LU-11546 utils: enable large_dir for ldiskfs Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 823fc815fe3c5e3a7e2dd8ae8f8aa4d94301c35f

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36780
            Subject: LU-11546 tests: enable large_dir support for tests
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 8059fd20860c57eaa224b9d30219000e3127d586

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36780 Subject: LU-11546 tests: enable large_dir support for tests Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 8059fd20860c57eaa224b9d30219000e3127d586
            pjones Peter Jones added a comment -

            Landed for 2.14

            pjones Peter Jones added a comment - Landed for 2.14

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36555/
            Subject: LU-11546 utils: enable large_dir for ldiskfs
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: cd1faa0124f21e12a5ecd83c709c13918264fc86

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36555/ Subject: LU-11546 utils: enable large_dir for ldiskfs Project: fs/lustre-release Branch: master Current Patch Set: Commit: cd1faa0124f21e12a5ecd83c709c13918264fc86

            Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/36555
            Subject: LU-11546 utils: enable large_dir for ldiskfs
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4c703152e418707a2ec2be607c07329d80b19e80

            gerrit Gerrit Updater added a comment - Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/36555 Subject: LU-11546 utils: enable large_dir for ldiskfs Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4c703152e418707a2ec2be607c07329d80b19e80

            Dongyang, can you please make a patch to enable large_dir on MDTs when they are formatted by mkfs.lustre. This can go into master once 2.14 opens (in the next few weeks), and then likely backported to 2.12.4.

            adilger Andreas Dilger added a comment - Dongyang, can you please make a patch to enable large_dir on MDTs when they are formatted by mkfs.lustre . This can go into master once 2.14 opens (in the next few weeks), and then likely backported to 2.12.4.

            People

              dongyang Dongyang Li
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: