Michal Jarzabek
2fea3a56a6
examples/librados/hello_world.cc:missing semicolon
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2015-09-26 14:45:22 +01:00
Brad Hubbard
26bcb362f4
Examples: hello_world.cc, content displayed after read is not null terminated.
...
Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.
Fixes : #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-09-15 18:58:44 +10:00
Jiaying Ren
ca285d4d57
Fix typos in librados example code
...
Signed-off-by: Jiaying Ren <mikulely@gmail.com>
2015-06-17 23:47:09 +08:00
Adam Crume
0f052f8cef
rbd-replay: Convert prep-for-replay.py to rbd-replay-prep.cc
...
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:33 -07:00
Adam Crume
4c360ce9af
rbd-replay: Fix examples/rbd-replay/replay
...
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:30 -07:00
Adam Crume
e7bf657e84
rbd-replay: Clean up prep-for-replay.py
...
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:30 -07:00
Adam Crume
4c4289c246
lttng: Add rbd-replay
...
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:29 -07:00
Adam Crume
10a476adfa
examples: Add example for the librados C API
...
Simply copied and modified the C++ API example.
Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:28 -07:00
Greg Farnum
823435ce65
examples: add a librados/hello_world program
...
This is a simple program with lots of explanatory comments people
can use as a model for using librados.
Signed-off-by: Greg Farnum <greg@inktank.com>
2013-08-19 14:55:09 -07:00