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

lov_exit and osc_exit called lu_device_type_fini() twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.3.0
    • Lustre 2.3.0
    • None
    • 3
    • 4606

    Description

      lov_exit and osc_exit explicitly called lu_device_type_fini() right before calling class_unregister_type(), however, class_unregister_type() will call lu_device_type_fini() too, which means lov_device_type and osc_device_type will be finalized twice, and those lu_context_keys in these two modules will be degistered twice too.

      We never saw any complaint about this is because lu_context_key_degister() will silently ignore unregistered key.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: