Project

General

Profile

Actions

Bug #1767

closed

osd_client: send_request() cannot fail

Added by Anonymous over 12 years ago. Updated over 12 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

The static __send_request() routine is sure to succeed in queuing its request for the specified osd client, yet ceph_osdc_start_request() checks for such a failure and either logs an error or unregisters the request. Another call to __send_request() from send_queued does not check for an error.

The right thing to do is probably to change __send_request() to return void and clean up the call in ceph_osdc_start_request()

Actions #1

Updated by Sage Weil over 12 years ago

  • Project changed from Ceph to Linux kernel client
  • Category deleted (OSD)
Actions #2

Updated by Sage Weil over 12 years ago

  • Translation missing: en.field_position set to 2
Actions #3

Updated by Sage Weil over 12 years ago

  • Status changed from New to Resolved
  • Target version set to v3.3

commit:24e08cacc999503a069003364565116c923342b9

Actions

Also available in: Atom PDF