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

assert if cpu_pattern specifies exactly one cpu in the partition

    XMLWordPrintable

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

            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: