Project

General

Profile

Bug #2525

librados: some functions are not thread-safe

Added by Josh Durgin almost 12 years ago. Updated over 11 years ago.

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

0%

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

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 11 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 11 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 11 years ago

  • Status changed from 12 to Fix Under Review
  • Target version set to v0.53c

#2 Updated by Sage Weil over 11 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF