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

TCU: Tolerate ENOSPC failure when moving files into Trash Can

    XMLWordPrintable

Details

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

    Description

      When unlink a file under TCU enabled, it may fail with ENOSPC as the inodes space is used out for TCU insert/create pFID operations.

      In this case, the simple solution is that MDT tolerates the ENOSPC error,  just treat as TCU is disabled and bypass TCU and destroy the file directly.

      The much complex solution is that for a removing directory, we append the full path (like fid2path) into "trusted.unrm" XATTR to the pFID stub file in Trash Can to avoid the "pFID" stub file becoming a orphan object.

      Attachments

        Activity

          People

            qian_wc Qian Yingjin
            qian_wc Qian Yingjin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: