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

add test to verify irreparable OI mapping

    XMLWordPrintable

Details

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

    Description

      OI scrub is able to handle mapping in below cases:

      • get inode or LMA xattr fail (return code is not -ENOENT, -ESTALE or -ENOMEM).
      • FID provided by client is not seen in inode iteration, this happens when client get FID by readdir, but this FID doesn't point to any inode on disk.
      • OI scrub found the correct mapping, but fails to update OI files.

      Add tests for these cases to ensure they are always correctly handled. And the code of osd_fid_lookup() can be cleaned up to make it easier to understand and maintain.

      Attachments

        Activity

          People

            laisiyao Lai Siyao
            laisiyao Lai Siyao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: