Project

General

Profile

Actions

Cleanup #4163

closed

libceph: improve packing in struct ceph_osd_req_op

Added by Alex Elder about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

(This is done, just documenting it because it's not directly
related to http://tracker.ceph.com/issues/4126)

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.

Signed-off-by: Alex Elder <>

Actions #1

Updated by Alex Elder about 11 years ago

This has been posted for review.

[PATCH] libceph: improve packing in struct ceph_osd_req_op

Actions #2

Updated by Alex Elder about 11 years ago

  • Status changed from In Progress to Resolved

This patch was committed recently and I forgot to
close this.

commit e7e319a9c51409c7effe34333ea26facf2fab9e1
Author: Alex Elder <>
Date: Thu Feb 14 12:16:43 2013 -0600

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 &lt;&gt;
Reviewed-by: Josh Durgin &lt;&gt;
Actions

Also available in: Atom PDF