Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • Lustre 2.10.0
    • 9223372036854775807

    Description

      One interesting idea discussed at LAD was to have a PFL layout that is "self extending".

      For several use cases, such as HSM partial-file release/restore, partial-file migration to/from burst buffers, partial-file FLR resync it is advantageous to avoid the need to restore/migrate/resync the entire file at once, but rather only to process the required chunks of the file.

      Essentially, a PFL file would have the normal few components that define the start of the file (e.g. [0-32MB), [32MB-1GB), [1GB-16GB)) and they would be instantiated as with normal PFL today. What is new for "self-extending layouts" is that the last component becomes the template for additional components (as needed) rather than having a component to "EOF" that freezes the layout of the rest of the file.

      This avoids the overhead of explicitly specifying many identical components for the file, only in order to limit the size of the components that need to be processed.

      Attachments

        Issue Links

          Activity

            [LU-10070] PFL self-extending file layout

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35232/
            Subject: LU-10070 ldlm: layout lock fixes
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 51f23ffa4dae3015da627203fb6f160db4911bee

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35232/ Subject: LU-10070 ldlm: layout lock fixes Project: fs/lustre-release Branch: master Current Patch Set: Commit: 51f23ffa4dae3015da627203fb6f160db4911bee

            Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35270
            Subject: LU-10070 lod: layout_del memleak
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d97c1343529fd4c38be5226772d0f2d9543db854

            gerrit Gerrit Updater added a comment - Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35270 Subject: LU-10070 lod: layout_del memleak Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d97c1343529fd4c38be5226772d0f2d9543db854

            Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35232
            Subject: LU-10070 ldlm: layout lock fixes
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 9e58fe77666aac33bf78d2f6fb67dee2532e3ae7

            gerrit Gerrit Updater added a comment - Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35232 Subject: LU-10070 ldlm: layout lock fixes Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9e58fe77666aac33bf78d2f6fb67dee2532e3ae7

            Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35182
            Subject: LU-10070 lod: SEL: let's discuss here
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 6d4b80add15eb9ad49e8c3fbcf2b830611127c68

            gerrit Gerrit Updater added a comment - Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35182 Subject: LU-10070 lod: SEL: let's discuss here Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 6d4b80add15eb9ad49e8c3fbcf2b830611127c68

            Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35144
            Subject: LU-10070 lod: SEL: interoperability support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 2a651609247d5041bbc2c16935396fa445a9bbcd

            gerrit Gerrit Updater added a comment - Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/35144 Subject: LU-10070 lod: SEL: interoperability support Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 2a651609247d5041bbc2c16935396fa445a9bbcd
            spitzcor Cory Spitz added a comment -

            http://wiki.lustre.org/Release_2.13.0 has been updated with reviewers and testers of record.

            spitzcor Cory Spitz added a comment - http://wiki.lustre.org/Release_2.13.0 has been updated with reviewers and testers of record.

            A general comment:
            We should add a sanity-lfsck test (probably in a separate patch?), to verify that SEL layouts work with lfsck.  I verified this by hand during development, by leaving all the test generated files in place and running lfsck, but we should have test(s).

            A good model is the lfsck tests added in the foreign layout patches:

            https://review.whamcloud.com/#/c/33755/

            https://review.whamcloud.com/#/c/34087/

            I can think of a few cases I'd want to test.

            1. Just create an SEL layout, don't do anything to it (or write a little data, but don't use the SEL portion), run sanity-lfsck & verify no changes
            2. Same, but extend the layout once, then lfsck (Maybe don't need 1 & 2 - Could just extend once before testing)

            3. Same, but "exhaust" an SEL component so you get component removal, then lfsck

            4. Repeat a component and run sanity-lfsck

            pfarrell Patrick Farrell (Inactive) added a comment - - edited A general comment: We should add a sanity-lfsck test (probably in a separate patch?), to verify that SEL layouts work with lfsck.  I verified this by hand during development, by leaving all the test generated files in place and running lfsck, but we should have test(s). A good model is the lfsck tests added in the foreign layout patches: https://review.whamcloud.com/#/c/33755/ https://review.whamcloud.com/#/c/34087/ I can think of a few cases I'd want to test. 1. Just create an SEL layout, don't do anything to it (or write a little data, but don't use the SEL portion), run sanity-lfsck & verify no changes 2. Same, but extend the layout once, then lfsck (Maybe don't need 1 & 2 - Could just extend once before testing) 3. Same, but "exhaust" an SEL component so you get component removal, then lfsck 4. Repeat a component and run sanity-lfsck

            Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/34909
            Subject: LU-10070 utils: SEL: lfs find & getstripe support
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: f05c0aac0d46d75ed3b3284400cef2b3423f349d

            gerrit Gerrit Updater added a comment - Vitaly Fertman (c17818@cray.com) uploaded a new patch: https://review.whamcloud.com/34909 Subject: LU-10070 utils: SEL: lfs find & getstripe support Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f05c0aac0d46d75ed3b3284400cef2b3423f349d

            Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/34470/
            Subject: LU-10070 tests: Fix replay-single test_85b
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: c590eaa213e6333531e775b100bfb78c952f4d79

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/34470/ Subject: LU-10070 tests: Fix replay-single test_85b Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: c590eaa213e6333531e775b100bfb78c952f4d79

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34470
            Subject: LU-10070 tests: Fix replay-single test_85b
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 58e4fd508397464ab67295641f5dbc7c8b11cc9b

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34470 Subject: LU-10070 tests: Fix replay-single test_85b Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 58e4fd508397464ab67295641f5dbc7c8b11cc9b

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34406/
            Subject: LU-10070 tests: Fix replay-single test_85b
            Project: fs/lustre-release
            Branch: b2_10
            Current Patch Set:
            Commit: e501749abdcf5513eb4a4eb19919bcbd295ad410

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34406/ Subject: LU-10070 tests: Fix replay-single test_85b Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: e501749abdcf5513eb4a4eb19919bcbd295ad410

            People

              vitaly_fertman Vitaly Fertman
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: