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

remove 24-bits bitmask for logic block number of IAM dir

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.1.0
    • Fix Version/s: Lustre 2.1.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      4955

      Description

      dx_get_block() will mask logic block number to 24-bits, which means we can only have 16-M blocks and a few giga FIDs, this is not enough because we have one single IAM dir to save all (fids, ino) for MDT.
      I think the 24-bits bitmask is not necessary at all because we just inherit it from ext3/4 and which is reserved for coalesce-on-delete and unlikely to happen at all. So the simplest workaround for this is just removing the bitmask so we have plenty block numbers and FIDs at least for all recent requirements.

        Attachments

          Activity

            People

            • Assignee:
              liang Liang Zhen (Inactive)
              Reporter:
              liang Liang Zhen (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: