Project

General

Profile

Bug #4615

libceph: drop mutex on error in handle_reply()

Added by Alex Elder over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04/02/2013
Due date:
% Done:

0%

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

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 over 6 years ago

  • Status changed from In Progress to Need Review

The following has been posted for review:

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

#2 Updated by Alex Elder over 6 years ago

  • Status changed from Need 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