[LU-11904] jobid cache cleanup is not safe Created: 30/Jan/19 Updated: 13/May/19 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick Farrell (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
jobid_cache_fini uses the jobid_hash_lock to protect the jobid_hash pointer: spin_lock(&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. |
| Comments |
| Comment by Patrick Farrell (Inactive) [ 30/Jan/19 ] |
|
One point: |
| Comment by Chris Hunter (Inactive) [ 13/May/19 ] |
|
Related to |