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: Add object lock support #3099

Merged
1 commit merged into from Dec 6, 2014

Conversation

sileht
Copy link
Contributor

@sileht sileht commented Dec 6, 2014

hi,

This changes adds to the python binding the support of:

  • rados_lock_exclusive
  • rados_lock_shared
  • rados_unlock

Cheers,

@ghost ghost added core feature labels Dec 6, 2014
@ghost ghost self-assigned this Dec 6, 2014
@loic-bot
Copy link

loic-bot commented Dec 6, 2014

SUCCESS make check
sileht@48170e3

@ghost
Copy link

ghost commented Dec 6, 2014

Could you please add a Signed-off-by to the commit message ? And while you're at it could you also include

http://tracker.ceph.com/issues/6114 Refs: #6114

in the commit comment to show progress in the relevant context ?

@ghost
Copy link

ghost commented Dec 6, 2014

Running the test manually as explained at http://dachary.org/?p=3216 succeeds:

$ LD_LIBRARY_PATH=.libs PYTHONPATH=pybind nosetests -v test/pybind/test_rados.py:TestIoctx.test_lock
test_rados.TestIoctx.test_lock ... ok
----------------------------------------------------------------------
Ran 1 test in 3.186s
OK

@ghost
Copy link

ghost commented Dec 6, 2014

Little things related to the commit message, otherwise great work !

This change adds to the python binding the support of:
 - rados_lock_exclusive
 - rados_lock_shared
 - rados_unlock

http://tracker.ceph.com/issues/6114 Refs: ceph#6114

Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
@sileht sileht force-pushed the sileht/python-rados-object-lock branch from 48170e3 to f5bf75f Compare December 6, 2014 15:28
@sileht
Copy link
Contributor Author

sileht commented Dec 6, 2014

I have made the modification in the commit message, thank for reviewing.

ghost pushed a commit that referenced this pull request Dec 6, 2014
python-rados: Add object lock support

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost merged commit a368533 into ceph:master Dec 6, 2014
@sileht sileht deleted the sileht/python-rados-object-lock branch February 24, 2016 08:54
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants