Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.13.0, Lustre 2.12.1
    • None
    • None
    • 9223372036854775807

    Description

      llapi_layout_get_by_xattr() assumes that the lum has already been properly swapped by llapi_layout_swab_lov_user_md(). However, llapi_layout_swab_lov_user_md() function is not exported, so external tool won't be able to use it.

      Attachments

        Issue Links

          Activity

            [LU-11974] Improve llapi_layout_get_by_xattr()

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34463/
            Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set:
            Commit: 6669e463d7eb7eb1768ba5927d96447724ff525f

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34463/ Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: 6669e463d7eb7eb1768ba5927d96447724ff525f

            Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34463
            Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API
            Project: fs/lustre-release
            Branch: b2_12
            Current Patch Set: 1
            Commit: 410c50f735502d33c6dc21a53539cf36adbc95e2

            gerrit Gerrit Updater added a comment - Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34463 Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: 410c50f735502d33c6dc21a53539cf36adbc95e2
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34276/
            Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 89e43812da871bb560f3c50a0c36713ea7788e0a

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34276/ Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API Project: fs/lustre-release Branch: master Current Patch Set: Commit: 89e43812da871bb560f3c50a0c36713ea7788e0a

            Li Xi (lixi@ddn.com) uploaded a new patch: https://review.whamcloud.com/34276
            Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 22f3ef5cf960219a47883a804f11511e1dee9a0d

            gerrit Gerrit Updater added a comment - Li Xi (lixi@ddn.com) uploaded a new patch: https://review.whamcloud.com/34276 Subject: LU-11974 llapi: improve llapi_layout_get_by_xattr(3) API Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 22f3ef5cf960219a47883a804f11511e1dee9a0d
            lixi_wc Li Xi added a comment -

            Also llapi_layout_get_by_xattr() is not exported in ./include/lustre/lustreapi.h

            lixi_wc Li Xi added a comment - Also llapi_layout_get_by_xattr() is not exported in ./include/lustre/lustreapi.h

            People

              lixi_wc Li Xi
              lixi_wc Li Xi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: