Project

General

Profile

Actions

Subtask #4589

closed

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

Subtask #4125: kernel messenger: support multiple sources of data

libceph: consolidate maintenance of message data 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

Right now the total length of the data in a message is
modified in different places throughout the code.
This makes it difficult to be able to be sure it
is recorded consistently It is also maintained in
wire byte order in the header of the message.

This is a little tricky, because the file system
(in its writepages) actually sets up a message for
an osd request early, then fills it in, then
updates the length values (including both the
extent length recorded for the osd op within the
request and the data length field in the header).

Anyway, I'm creating this issue to identify it as
a separate block of work that's being done in order
to allow a message's data length and the fields
in osd operations get updated only inside the
osd client code.

I've done a big block of this work but it's not
quite ready to post for review.

Actions

Also available in: Atom PDF