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

Open fname/fid at early stage in 'lfs migrate' command

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None

    Description

      Split from LU-15425.

      As per the discussion, it's better to open file(s) to be migrated at early stage when the pathname or fid is parsed from command line arguments/stdin/LIST_FILE. Then pass the fd down to various functions.

      Some functions may be splitted into an internal function which accepts fd, and wrapper functions which open filename/fid and call the internal version.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              flei Feng Lei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: