]> 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)
commit8cb22e94dcdfed743d7b4ae409eb1554d7736892
treea765aeb136f4c7e354c01314e5fdfb776d503fb7
parent8c6fbe5556ef26bc18fc05886169323aa088b5e7
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