Project

General

Profile

Bug #2525

librados: some functions are not thread-safe

Added by Josh Durgin almost 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
librados
Target version:
Start date:
06/01/2012
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Some functions are accessing the osdmap without any locks. There are probably other cases like this. Find and fix all of them.

Associated revisions

Revision d1de1f12 (diff)
Added by Sage Weil over 6 years ago

librados: protect lookup_pool, get_pool_name with lock

Fixes: #2525
Signed-off-by: Sage Weil <>

Revision b5814642 (diff)
Added by Sage Weil over 6 years ago

librados: protect lookup_pool, get_pool_name with lock

Fixes: #2525
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil over 6 years ago

  • Status changed from Verified to Need Review
  • Target version set to v0.53c

#2 Updated by Sage Weil over 6 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF