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

rbd-mirror: additional thrasher testing #21697

Merged
merged 4 commits into from Apr 30, 2018
Merged

Conversation

dillaman
Copy link

No description provided.

Jason Dillaman added 4 commits April 27, 2018 08:33
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
…iority

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@dillaman
Copy link
Author

rm -f ${rmt_export} ${loc_export}
rbd --cluster ${CLUSTER2} -p ${pool} export ${image}@${snap_name} ${rmt_export}
rbd --cluster ${CLUSTER1} -p ${pool} export ${image}@${snap_name} ${loc_export}
cmp ${rmt_export} ${loc_export}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dillaman You could do something like this:

rmt_md5sum=`rbd ... export image - | md5sum`

And just compare check sums. It looks like less code and probably a little faster.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@trociny trociny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dillaman I don't see it is tagged for mimic. Should I wait with the merge?

@dillaman dillaman added this to the mimic milestone Apr 30, 2018
@dillaman
Copy link
Author

@trociny It's for mimic

@trociny trociny merged commit 6b752a3 into ceph:master Apr 30, 2018
@dillaman dillaman deleted the wip-18753-1 branch April 30, 2018 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants