Actions
Bug #24567
openfix a race between Thread::create and Thread::set_ioprio
Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
common
Target version:
-
% Done:
100%
Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
We may do the following process:
a)Thread::create/try_create
b)Thread::set_ioprio
But the entry of Thread maybe not exec after step a) which cause step b)
can't set currently ioprio.
To fix potential race, i add mutex which make step b) wait until entry
exec.
Updated by jianpeng ma almost 6 years ago
Updated by John Spray almost 6 years ago
- Status changed from New to Fix Under Review
Actions