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

pybind: Implementation of rados_ioctx_snapshot_rollback #6878

Merged
merged 1 commit into from Dec 10, 2015

Conversation

manens
Copy link
Contributor

@manens manens commented Dec 9, 2015

Signed-off-by: Florent Manens florent@beezim.fr

@manens manens force-pushed the pybind_rados_ioctx_snap_rollback branch from e3ccfb8 to a32d90b Compare December 9, 2015 22:00
@jdurgin
Copy link
Member

jdurgin commented Dec 9, 2015

could you add your Signed-off-by to the commit message? it's just in the PR description right now.

Use 'git commit --amend -s' to edit the commit message, adding the signed-off-by automatically, then force push with 'git push origin +pybind_rados_ioctx_snap_rollback'

@ghost
Copy link

ghost commented Dec 10, 2015

@manens you can ignore the bot failure, it is a temporary network failure. You will get another run after rebasing & repushing.

@manens manens force-pushed the pybind_rados_ioctx_snap_rollback branch from 64a8f7b to 1e995cb Compare December 10, 2015 00:23
"""
self.require_ioctx_open()
ret = run_in_thread(self.librados.rados_ioctx_snap_rollback,
(self.io, cstr(oid), snap.name))
Copy link
Member

Choose a reason for hiding this comment

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

snap.name is populated as a python string, so we should encode it as a byte string via cstr(snap.name) when passing it to the c function here

@manens manens force-pushed the pybind_rados_ioctx_snap_rollback branch from 1e995cb to 3ac716c Compare December 10, 2015 11:08
Signed-off-by: Florent Manens <florent@beezim.fr>
@manens manens force-pushed the pybind_rados_ioctx_snap_rollback branch from 3ac716c to 2b50a75 Compare December 10, 2015 11:09
jdurgin added a commit that referenced this pull request Dec 10, 2015
pybind: Implementation of rados_ioctx_snapshot_rollback

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit 6955d29 into ceph:master Dec 10, 2015
@manens manens deleted the pybind_rados_ioctx_snap_rollback branch December 10, 2015 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants