]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: update osd request/reply encoding
authorSage Weil <sage@inktank.com>
Tue, 26 Feb 2013 00:11:12 +0000 (16:11 -0800)
committerSage Weil <sage@inktank.com>
Tue, 26 Feb 2013 23:02:50 +0000 (15:02 -0800)
commitdee076392627df046f0534d8c033aebeff5463d3
treea765aeb136f4c7e354c01314e5fdfb776d503fb7
parent80aff37b7cf8c09d4bd128ff85e474d011fd6561
libceph: update osd request/reply encoding

Use the new version of the encoding for osd requests and replies.  In the
process, update the way we are tracking request ops and reply lengths and
results in the struct ceph_osd_request.  Update the rbd and fs/ceph users
appropriately.

The main changes are:
 - we keep pointers into the request memory for fields we need to update
   each time the request is sent out over the wire
 - we keep information about the result in an array in the request struct
   where the users can easily get at it.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
drivers/block/rbd.c
fs/ceph/addr.c
include/linux/ceph/osd_client.h
include/linux/ceph/rados.h
net/ceph/debugfs.c
net/ceph/osd_client.c