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

LL_IOC_GETOBDCOUNT return wrong MDT counts

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      We used llapi_get_obd_count() to get MDT/OST counts, which call LL_IOC_GETOBDCOUNT
      internally.

      However, we return lmv->lmv_mdt_descs.ltd_tgts_size as MDT count, this is not right.
      @ltd_tgts_size could be larger than actual MDT count, as we preallocate ltd_tgts and resize it if necessary.

      Attachments

        Issue Links

          Activity

            [LU-12951] LL_IOC_GETOBDCOUNT return wrong MDT counts
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.14.0 [ 14490 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-12378 [ LU-12378 ]
            wshilong Wang Shilong (Inactive) made changes -
            Link New: This issue is related to LU-13079 [ LU-13079 ]
            scherementsev Sergey Cheremencev made changes -
            Link New: This issue is duplicated by LU-12975 [ LU-12975 ]
            wshilong Wang Shilong (Inactive) created issue -

            People

              wshilong Wang Shilong (Inactive)
              wshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: