diff options
author | Alex Elder <elder@inktank.com> | 2013-03-01 18:00:16 -0600 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:16:54 -0700 |
commit | f9e15777afd87585f2222dfd446c2e52deb65eba (patch) | |
tree | d7f3d460c4384d502a8a7b16bcd530f803a54192 /net/ceph/mon_client.c | |
parent | 97fb1c7f6637ee61c90b8bc186d464cfd426b063 (diff) |
libceph: be explicit about message data representation
A ceph message has a data payload portion. The memory for that data
(either the source of data to send or the location to place data
that is received) is specified in several ways. The ceph_msg
structure includes fields for all of those ways, but this
mispresents the fact that not all of them are used at a time.
Specifically, the data in a message can be in:
- an array of pages
- a list of pages
- a list of Linux bios
- a second list of pages (the "trail")
(The two page lists are currently only ever used for outgoing data.)
Impose more structure on the ceph message, making the grouping of
some of these fields explicit. Shorten the name of the
"page_alignment" field.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'net/ceph/mon_client.c')
0 files changed, 0 insertions, 0 deletions