]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph, librados, rados.py, librados tests: pass cmd as array
authorDan Mick <dan.mick@inktank.com>
Fri, 7 Jun 2013 00:40:28 +0000 (17:40 -0700)
committerDan Mick <dan.mick@inktank.com>
Fri, 7 Jun 2013 01:46:53 +0000 (18:46 -0700)
commit24a5212d3ec3e244f4e49a88e50191827fe0d44e
tree31b27b82af2ad8b0cef2634ed7f688dce37fc8b5
parent37a6102878dea07cffa4c8041eac178c50c34c19
ceph, librados, rados.py, librados tests: pass cmd as array

Using ceph to pass commands to the old monitor requires the
message to have words in a vector; this means that we need to pass
the command as an array to rados_mon_command.  Really, all of the
rados_X_command functions should take an array for flexibility and
parallel structure, so change them all, and the Python bindings,
and the test programs that use them.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
src/ceph
src/include/rados/librados.h
src/librados/librados.cc
src/pybind/rados.py
src/test/librados/cmd.cc