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

LFSCK 4: don't disable creates for all sequences if one bad LAST_ID is found

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 14839

    Description

      When LFSCK detects a corrupt or missing LAST_ID, it currently disables creates for all sequences, even if this is not necessary:

              /* Currently, for safe, we do not distinguish which LAST_ID is broken,
               * we may do that in the future.
               * Return -ENOSPC until the LAST_ID rebuilt. */
              if (unlikely(ofd->ofd_lastid_rebuilding))
                      GOTO(out_sem, rc = -ENOSPC);
      

      However, with multiple MDTs (FID-on-OST) there may be creates in sequences that could continue, or the problem may be in a sequence that have been filled and is no longer in use so there is no value to block all creates.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: