]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc: new style encoding for Journal::Header
authorJohn Spray <john.spray@inktank.com>
Mon, 19 May 2014 13:23:40 +0000 (14:23 +0100)
committerJohn Spray <john.spray@inktank.com>
Tue, 20 May 2014 13:07:52 +0000 (14:07 +0100)
commit1c2bb374177b7fc55612f6a38043f79ee87547d7
tree5525625bf996531b749309f1cab465f4dd5d2b6f
parentf609a0afe39255f84a66f7b3061833a8c0f5f108
osdc: new style encoding for Journal::Header

Switch to the ENCODE_START, DECODE_START macros
for Journal::Header.  As well as being nice generally,
this has the important side effect of making
journal headers written since JOURNAL_FORMAT_RESILIENT
unreadable to older MDSs, as they will fail their check
on Header.magic.

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