]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/JournalStream: DRY envelope size calc
authorJohn Spray <john.spray@inktank.com>
Mon, 19 May 2014 10:31:24 +0000 (11:31 +0100)
committerJohn Spray <john.spray@inktank.com>
Tue, 20 May 2014 13:07:51 +0000 (14:07 +0100)
commit778b78519fd8e06e7a2fc91e318dc3c4345140a9
treefe41592a7e8f0a2179a5c28e366ff5d6f602bd77
parent45c319efeb9fd7069cc9dd6d81b2be5f7a9d0af9
osdc/JournalStream: DRY envelope size calc

Replace repetitive sizeof() calculation for the
envelope overhead per log event with #defines.

Signed-off-by: John Spray <john.spray@inktank.com>
src/osdc/Journaler.cc
src/osdc/Journaler.h