Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-2886

create local files using local_storage library

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.4.0
    • Lustre 2.4.0
    • 3
    • 6967

    Description

      Switch local file handling to local_storage library and stop using obsoleted md_local_file library. This is technical debt from Orion.

      Attachments

        Issue Links

          Activity

            [LU-2886] create local files using local_storage library

            Patch landed to master

            jlevi Jodi Levi (Inactive) added a comment - Patch landed to master

            Reopened for http://review.whamcloud.com/6299 landing.

            adilger Andreas Dilger added a comment - Reopened for http://review.whamcloud.com/6299 landing.

            Old fixed FIDs will not be reused because FID_SEQ_LOCAL_FILE is not used by local storage at all. Strictly speaking this sequence should be used only for nameless objects created by dt_object_find_or_create(). There is no need in compatibility efforts in this area.

            tappro Mikhail Pershin added a comment - Old fixed FIDs will not be reused because FID_SEQ_LOCAL_FILE is not used by local storage at all. Strictly speaking this sequence should be used only for nameless objects created by dt_object_find_or_create(). There is no need in compatibility efforts in this area.

            Patches landed to master.

            jlevi Jodi Levi (Inactive) added a comment - Patches landed to master.

            Hi Tappro, since it is very near lustre-2.4 release and Russian seems in vacation. So I made a small patch (http://review.whamcloud.com/#change,6299) to fix the issue mentioned above as Andreas suggested, then it can be tested sooner.

            Please review it when you are back from vacation. Thanks.

            yong.fan nasf (Inactive) added a comment - Hi Tappro, since it is very near lustre-2.4 release and Russian seems in vacation. So I made a small patch ( http://review.whamcloud.com/#change,6299 ) to fix the issue mentioned above as Andreas suggested, then it can be tested sooner. Please review it when you are back from vacation. Thanks.
            yong.fan nasf (Inactive) added a comment - - edited

            Hi Tappro, for an old MDT upgrade to Lustre-2.4, there were some local files created with fixed FIDs {FID_SEQ_LOCAL_FILE, fixed_oid, 0}. How the new local_file_find_or_create() or local_index_find_or_create() can guarantee that the new create local files will not reuse these fixed FIDs?

            yong.fan nasf (Inactive) added a comment - - edited Hi Tappro, for an old MDT upgrade to Lustre-2.4, there were some local files created with fixed FIDs {FID_SEQ_LOCAL_FILE, fixed_oid, 0}. How the new local_file_find_or_create() or local_index_find_or_create() can guarantee that the new create local files will not reuse these fixed FIDs?

            People

              tappro Mikhail Pershin
              tappro Mikhail Pershin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: