Project

General

Profile

Bug #4615

libceph: drop mutex on error in handle_reply()

Added by Alex Elder almost 11 years ago. Updated almost 11 years ago.

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

0%

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

Description

The osd client mutex is acquired just before getting a reference to
a request in handle_reply(). However the error paths after that
don't drop the mutex before returning as they should.

Drop the mutex after dropping the request reference. Also add a
bad_mutex label at that point and use it so the failed request
lookup case can be handled with the rest.

Signed-off-by: Alex Elder <>

History

#1 Updated by Alex Elder almost 11 years ago

  • Status changed from In Progress to Fix Under Review

The following has been posted for review:

[PATCH] libceph: drop mutex on error in handle_reply()

#2 Updated by Alex Elder almost 11 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v0.62a

The following has been committed to the ceph-client
"testing" branch:
1fa4194 libceph: drop mutex on error in handle_reply()

Also available in: Atom PDF