Project

General

Profile

Actions

Bug #12662

closed

ThreadPool add/remove work queue methods not thread safe

Added by Jason Dillaman over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
hammer,firefly
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

librbd uses a singleton ThreadPool for asynchronous operations for each image. As images are opened and closed, WorkQueues are added/removed from the singleton ThreadPool. Since this operation isn't protected, this occasionally results in a crash of the librbd unit tests.


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #13042: ThreadPool add/remove work queue methods not thread safeResolvedAbhishek VarshneyActions
Copied to Ceph - Backport #13043: ThreadPool add/remove work queue methods not thread safeResolvedJosh Durgin08/10/2015Actions
Actions #1

Updated by Jason Dillaman over 8 years ago

  • Backport set to hammer,firefly
Actions #2

Updated by Jason Dillaman over 8 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Jason Dillaman over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Kefu Chai over 8 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Loïc Dachary over 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF