Project

General

Profile

Actions

Bug #24569

open

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

Added by jianpeng ma almost 6 years ago. Updated almost 6 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 (v1):
Crash signature (v2):

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.

Actions #2

Updated by John Spray almost 6 years ago

  • Status changed from New to Fix Under Review
Actions

Also available in: Atom PDF