Project

General

Profile

Bug #24569

Fix outorder between Thread::create and Thread::set_ioprio

Added by jianpeng ma almost 2 years ago. Updated almost 2 years ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Category:
common
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

In TheadPool::start_threads:

int r = wt->set_ioprio(ioprio_class, ioprio_priority);
if (r < 0)
lderr(cct) << " set_ioprio got " << cpp_strerror(r) << dendl;

wt->create(thread_name.c_str());

In fact, it should firstly call create.

History

#2 Updated by John Spray almost 2 years ago

  • Status changed from New to Fix Under Review

Also available in: Atom PDF