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

assert if cpu_pattern specifies exactly one cpu in the partition

Details

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

    Description

      cpu_pattern can sepcify exactly 1 cpu in a partition:
      "0[0]". That means CPT0 will have CPU 0. CPU 0 can have
      hyperthreading enabled. This combination would result in
      weight = cfs_cpu_ht_nsiblings(0);
      hrp->hrp_nthrs = cfs_cpt_weight(ptlrpc_hr.hr_cpt_table, i);
      hrp->hrp_nthrs /= weight;
      evaluating to 0

      Causing LASSERT(hrp->hrp_nthrs > 0); to trigger

      Patch
      http://review.whamcloud.com/#/c/19106/

      attempts to resolve this issue.

      Attachments

        Issue Links

          Activity

            [LU-8451] assert if cpu_pattern specifies exactly one cpu in the partition
            adilger Andreas Dilger made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-8492 [ LU-8492 ]
            jgmitter Joseph Gmitter (Inactive) made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Amir Shehata [ ashehata ]
            ashehata Amir Shehata (Inactive) created issue -

            People

              ashehata Amir Shehata (Inactive)
              ashehata Amir Shehata (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: