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

python-rados: extends ReadOp/WriteOp API #9944

Merged
merged 2 commits into from Aug 1, 2016
Merged

Conversation

sileht
Copy link
Contributor

@sileht sileht commented Jun 27, 2016

This change extends python-rados ReadOp/WriteOp API for the following C methods:

  • rados_aio_write_op_operate
  • rados_write_op_omap_set
  • rados_read_op_set_flags
  • rados_aio_read_op_operate
  • rados_write_op_create
  • rados_write_op_append
  • rados_write_op_write_full
  • rados_write_op_write
  • rados_write_op_remove
  • rados_write_op_truncate
  • rados_write_op_zero

sileht added a commit to sileht/pycradox that referenced this pull request Jun 27, 2016
* rados_aio_write_op_operate
* rados_write_op_omap_set
* rados_read_op_set_flags
* rados_aio_read_op_operate

Upstream: ceph/ceph#9944
sileht added a commit to sileht/pycradox that referenced this pull request Jun 27, 2016
* rados_aio_write_op_operate
* rados_write_op_omap_set
* rados_read_op_set_flags
* rados_aio_read_op_operate

Upstream: ceph/ceph#9944
sileht added a commit to sileht/pycradox that referenced this pull request Jun 27, 2016
* rados_aio_write_op_operate
* rados_write_op_omap_set
* rados_read_op_set_flags
* rados_aio_read_op_operate

Upstream: ceph/ceph#9944
@sileht sileht force-pushed the master branch 2 times, most recently from acfbe38 to 35e5606 Compare June 27, 2016 12:38
@sileht sileht changed the title python: add some read_op methods python-rados: extends ReadOp/WriteOp API Jun 27, 2016
@sileht
Copy link
Contributor Author

sileht commented Jul 29, 2016

Any new about merging this ?

@jdurgin
Copy link
Member

jdurgin commented Jul 29, 2016

sorry, I meant to look at this a lot sooner. Will review today

@jdurgin
Copy link
Member

jdurgin commented Jul 29, 2016

jenkins: retest this please

@requires(('to_write', bytes))
def append(self, to_write):
"""
Write whole object, atomically replacing it.
Copy link
Member

Choose a reason for hiding this comment

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

accidentally used write_full description

@jdurgin
Copy link
Member

jdurgin commented Jul 30, 2016

looks good, just a couple minor comments. could you add a signed-off-by line to your commit messages?

This change adds python API for the following C methods:
* rados_aio_write_op_operate
* rados_write_op_omap_set
* rados_read_op_set_flags
* rados_aio_read_op_operate

Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
* rados_write_op_create
* rados_write_op_append
* rados_write_op_write_full
* rados_write_op_write
* rados_write_op_remove
* rados_write_op_truncate
* rados_write_op_zero

Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
@sileht
Copy link
Contributor Author

sileht commented Jul 30, 2016

I have fixed the comments

@jdurgin jdurgin merged commit ef9e8dc into ceph:master Aug 1, 2016
@jdurgin
Copy link
Member

jdurgin commented Aug 1, 2016

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants