Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-18456 TCU: Trash Can/Undelete for Lustre
  3. LU-19291

TCU: parallel directory traversal for unrm

XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • 3
    • 9223372036854775807

      The Trash Can undelete handling should not implement its own directory traversal handling to restore the attributes of files when "lfs trash unrm" is called on a directory.

      The parallel directory processing implemented for parallel_find() should be used (and improved/adapted if needed) to avoid duplicate code, and allows focused optimizations for a single parallel directory traversal code instead of spreading development and bug fixing effort across multiple different implementations.

      The current TCU directory traversal is BFS instead of DFS, but that can be addressed by a flag in struct find_param rather than having a fully duplicate implementation. Also, BFS vs. DFS is somewhat unclear/irrelevant when there are multiple threads performing directory traversal in parallel.

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: