Project

General

Profile

Bug #4427

libceph: record residual bytes for all message data types

Added by Alex Elder about 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

As I got closer to fully implementing the abstract data
item for reads I realized it was necessary to know the
full length of request data, which was not available
in the messenger for bio data.

All of the data types can use this, not just the page array. Until
now, only the bio type doesn't have it available, and only the
initiator of the request (the rbd client) is able to supply the
length of the full request without re-scanning the bio list. Change
the cursor init routines so the length is supplied based on the
message header "data_len" field, and use that length to intiialize
the "resid" field of the cursor.

Signed-off-by: Alex Elder <>

History

#2 Updated by Alex Elder about 11 years ago

  • Status changed from In Progress to Fix Under Review

This patch has been posted for review:
[PATCH] libceph: record residual bytes for all message data types

#3 Updated by Alex Elder almost 11 years ago

  • Status changed from Fix Under Review to Resolved

This has been committed to the ceph-client "testing" branch:
95e3dca libceph: record residual bytes for all message data types

Also available in: Atom PDF