libceph: change how osd_op_reply message size is calculated
authorIlya Dryomov <idryomov@gmail.com>
Wed, 27 Apr 2016 16:32:56 +0000 (18:32 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 22:36:21 +0000 (00:36 +0200)
commit711da55d36a6f1eddcd340969be7223110d2f6b0
treef93225ad1cad76fc6da550f4853362e6a8012f2d
parent13d1ad16d05eebb4db977eb955716b9da2c19fbd
libceph: change how osd_op_reply message size is calculated

For a message pool message, preallocate a page, just like we do for
osd_op.  For a normal message, take ceph_object_id into account and
don't bother subtracting CEPH_OSD_SLAB_OPS ceph_osd_ops.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c