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

CoverityID 425356:  Program hangs  (ORDER_REVERSAL) in class_detach()

    XMLWordPrintable

Details

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

    Description

      git blame points to patch: 45900a77

      *** CID 425356:  Program hangs  (ORDER_REVERSAL)
      > /lustre/obdclass/obd_config.c: 824 in class_detach()
      > 818             CERROR("OBD device %d not attached\n", obd->obd_minor);
      > 819             RETURN(-ENODEV);
      > 820         }
      > 821         obd->obd_attached = 0;
      > 822     
      > 823         /* cleanup in progress. we don't like to find this device after now */
      >>>>    CID 425356:  Program hangs  (ORDER_REVERSAL)
      >>>>    Calling "class_unregister_device" acquires lock "xarray.xa_lock" while holding lock "obd_device.obd_dev_lock" (count: 1 / 2).
      > 824         class_unregister_device(obd);
      > 825         spin_unlock(&obd->obd_dev_lock);
      > 826     
      > 827         CDEBUG(D_IOCTL, "detach on obd %s (uuid %s)\n",
      > 828                obd->obd_name, obd->obd_uuid.uuid);
      > 829     
      > 

      Attachments

        Activity

          People

            wc-triage WC Triage
            arshad512 Arshad Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: