Subtask #4406
Feature #3761: kernel messenger: need to support multiple ops per request
libceph: data length should be sum of ops length
0%
Description
Currently the osd client sets the length of the outgoing
data portion of a message based on a value that's passed
into ceph_osdc_build_request(). Since only one op ever
contains data, this is OK and the value passed matches
the value that is recorded in the single op in that case.
But it's not correct if any message is ever going to hold
more than one op with outgoing data.
So the osd client needs to be changed to calculate the
outgoing data length for a request message based on what's
in the ops array for which the message is being built.
History
#1 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: let osd ops determine request data length
#2 Updated by Alex Elder about 11 years ago
- Status changed from Fix Under Review to Resolved
- translation missing: en.field_remaining_hours set to 0.00
This has been reviewed and is now committed to the testing branch.
58516b5 libceph: let osd ops determine request data length