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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • 9223372036854775807

      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.

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

              Created:
              Updated: