summaryrefslogtreecommitdiff
path: root/include/linux/ceph/messenger.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-07 05:39:39 (GMT)
committerSage Weil <sage@inktank.com>2013-05-02 04:16:58 (GMT)
commit7fe1e5e57b84eab98ff352519aa66e86dac5bf61 (patch)
treee63f60e28bdcc52c10507cf9fc9d772aa8577411 /include/linux/ceph/messenger.h
parentdd236fcb65d7b6b80c408cb5f66aab55f4594284 (diff)
downloadlinux-fsl-qoriq-7fe1e5e57b84eab98ff352519aa66e86dac5bf61.tar.xz
libceph: use data cursor for message pagelist
Switch to using the message cursor for the (non-trail) outgoing pagelist data item in a message if present. Notes on the logic changes in out_msg_pos_next(): - only the mds client uses a ceph pagelist for message data; - if the mds client ever uses a pagelist, it never uses a page array (or anything else, for that matter) for data in the same message; - only the osd client uses the trail portion of a message data, and when it does, it never uses any other data fields for outgoing data in the same message; and finally - only the rbd client uses bio message data (never pagelist). Therefore out_msg_pos_next() can assume: - if we're in the trail portion of a message, the message data pagelist, data, and bio can be ignored; and - if there is a page list, there will never be any a bio or page array data, and vice-versa. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph/messenger.h')
0 files changed, 0 insertions, 0 deletions