diff options
author | Alex Elder <elder@inktank.com> | 2013-03-14 20:09:06 +0100 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-02 06:18:29 +0200 |
commit | 36153ec9dd6287d7cedf6afb51453c445d946cee (patch) | |
tree | 71f690eef5012f3d3c5df2723cc776701d57dc84 /net/decnet | |
parent | libceph: record bio length (diff) | |
download | linux-36153ec9dd6287d7cedf6afb51453c445d946cee.tar.xz linux-36153ec9dd6287d7cedf6afb51453c445d946cee.zip |
libceph: move cursor into message
A message will only be processing a single data item at a time, so
there's no need for each data item to have its own cursor.
Move the cursor embedded in the message data structure into the
message itself. To minimize the impact, keep the data->cursor
field, but make it be a pointer to the cursor in the message.
Move the definition of ceph_msg_data above ceph_msg_data_cursor so
the cursor can point to the data without a forward definition rather
than vice-versa.
This and the upcoming patches are part of:
http://tracker.ceph.com/issues/3761
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions