summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-02 19:09:50 +0200
committerSage Weil <sage@inktank.com>2013-05-02 06:18:03 +0200
commit98fa5dd883aadbb0020b68d0f9367ba152dfe511 (patch)
tree982654be5c409de9dd5a48521985e6533b8da4b4 /drivers
parentceph: build osd request message later for writepages (diff)
downloadlinux-98fa5dd883aadbb0020b68d0f9367ba152dfe511.tar.xz
linux-98fa5dd883aadbb0020b68d0f9367ba152dfe511.zip
libceph: provide data length when preparing message
In prepare_message_data(), the length used to initialize the cursor is taken from the header of the message provided. I'm working toward not using the header data length field to determine length in outbound messages, and this is a step in that direction. For inbound messages this will be set to be the actual number of bytes that are arriving (which may be less than the total size of the data buffer available). This resolves: http://tracker.ceph.com/issues/4589 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions