[LU-1417] lov_exit and osc_exit called lu_device_type_fini() twice Created: 17/May/12  Updated: 27/Sep/12  Resolved: 27/Sep/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.3.0
Fix Version/s: Lustre 2.3.0

Type: Bug Priority: Minor
Reporter: Liang Zhen (Inactive) Assignee: Liang Zhen (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 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.



 Comments   
Comment by Liang Zhen (Inactive) [ 17/May/12 ]

patch is here: http://review.whamcloud.com/2823

Comment by Jodi Levi (Inactive) [ 27/Sep/12 ]

Please reopen ticket if more work is needed.

Generated at Sat Feb 10 01:16:26 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.