Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: fix bluestore_wal_transaction_t encoding test #7419

Merged
1 commit merged into from Jan 29, 2016

Conversation

badone
Copy link
Contributor

@badone badone commented Jan 29, 2016

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
(cherry picked from commit 4d30e7c)
Signed-off-by: Brad Hubbard bhubbard@redhat.com

Need to backport this for tests to pass on Jewel

@tchaikov
Copy link
Contributor

lgtm.

@tchaikov tchaikov added this to the jewel milestone Jan 29, 2016
@tchaikov tchaikov added the tests label Jan 29, 2016
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>
@ghost ghost self-assigned this Jan 29, 2016
ghost pushed a commit that referenced this pull request Jan 29, 2016
os/bluestore: fix bluestore_wal_transaction_t encoding test

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost merged commit 7973f1b into ceph:jewel Jan 29, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants