Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
jobid_cache_fini uses the jobid_hash_lock to protect the jobid_hash pointer:
spin_lock(&jobid_hash_lock);
tmp_hash = jobid_hash;
jobid_hash = NULL;
spin_unlock(&jobid_hash_lock);
But other places in the code use that pointer without holding the jobid_hash_lock (notably jobid_get_from_cache()).
This can cause unexpected behavior in those locations during unmount.
No plan to do a patch for this ATM.