Project

General

Profile

Actions

Subtask #4406

closed

Feature #3761: kernel messenger: need to support multiple ops per request

libceph: data length should be sum of ops length

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

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

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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.

Actions

Also available in: Atom PDF