]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix bluestore_wal_transaction_t encoding test 7419/head
authorKefu Chai <kchai@redhat.com>
Mon, 25 Jan 2016 07:08:02 +0000 (15:08 +0800)
committerBrad Hubbard <bhubbard@redhat.com>
Fri, 29 Jan 2016 06:27:11 +0000 (16:27 +1000)
commitb0c2bcf0d5ae3e1487242c9518e35f7699c52fb0
treed58a6417ac0336467658e1fdef9b22d55538044a
parentfd64e3bf0d8eaba83623287a920cf737753926d2
os/bluestore: fix bluestore_wal_transaction_t encoding test

bluestore_wal_op_t::op is encoded/dumped but it is not
initialized in its ctor. so set it to 0 in its ctor. 0 is not an
valid op though, but it helps with debugging and testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/os/bluestore/bluestore_types.h