libceph: improve packing in struct ceph_osd_req_op
authorAlex Elder <elder@inktank.com>
Thu, 14 Feb 2013 18:16:43 +0000 (12:16 -0600)
committerAlex Elder <elder@inktank.com>
Mon, 18 Feb 2013 18:19:07 +0000 (12:19 -0600)
commite7e319a9c51409c7effe34333ea26facf2fab9e1
treee02db746bd2386ee0e8b82298ba5ec1f455e5217
parent077413082f9ade9ca4d9774dbdc81ee7256d8089
libceph: improve packing in struct ceph_osd_req_op

The layout of struct ceph_osd_req_op leaves lots of holes.
Rearranging things a little for better field alignment
reduces the size by a third.

This resolves:
    http://tracker.ceph.com/issues/4163

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
include/linux/ceph/osd_client.h