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

Volatile files should be accessible on all clients

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Lustre 2.5.0
    • None
    • 3
    • 10806

    Description

      Any clients should be able to open_by_fid a volatile file. This is a requirement for copy tools capable of parallel restore, like Grau Data.
      Add it to 2.5 blockers as per my discussion with Andreas today.

      Attachments

        Issue Links

          Activity

            [LU-4021] Volatile files should be accessible on all clients
            jhammond John Hammond added a comment -

            I manually verified that this works on today's master (lustre-2.4.93-2.6.32_358.18.1.el6_lustre.gdadfda6.x86_64_ga217228.x86_64) but it would be good to add a sanity test so that we don't regress on this.

            jhammond John Hammond added a comment - I manually verified that this works on today's master (lustre-2.4.93-2.6.32_358.18.1.el6_lustre.gdadfda6.x86_64_ga217228.x86_64) but it would be good to add a sanity test so that we don't regress on this.

            So the actual situation is that opening_by_fid() a volatile file on a different client works just fine currently. Jinshan just threatened to remove this capability.

            After further discussions, we all agreed that this functionality is required for parallel restore and we will just leave it in.

            johann Johann Lombardi (Inactive) added a comment - So the actual situation is that opening_by_fid() a volatile file on a different client works just fine currently. Jinshan just threatened to remove this capability. After further discussions, we all agreed that this functionality is required for parallel restore and we will just leave it in.

            In upcoming kernel versions, they will also gain the concept of a volatile file and also the ability to link it to the namespace using flink_at() or similar, so it doesn't seem so unlikely that these files will be seen in normal usage.

            adilger Andreas Dilger added a comment - In upcoming kernel versions, they will also gain the concept of a volatile file and also the ability to link it to the namespace using flink_at() or similar, so it doesn't seem so unlikely that these files will be seen in normal usage.

            Actually it's working now because we don't set the DEAD_OBJ on volatile files yet. I think we should have set it to make volatile file look more like unlinked file otherwise we still can access volatile from .lustre/fid path. If they strongly objected to, we can simply not fix it.

            jay Jinshan Xiong (Inactive) added a comment - Actually it's working now because we don't set the DEAD_OBJ on volatile files yet. I think we should have set it to make volatile file look more like unlinked file otherwise we still can access volatile from .lustre/fid path. If they strongly objected to, we can simply not fix it.

            People

              jay Jinshan Xiong (Inactive)
              johann Johann Lombardi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: