librados: Add RADOS locks to the C/C++ API
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied
- v12 patches 4 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Add RADOS lock mechanism to the librados C/C++ API.src/ src/ src/ +1 more | +314 | 0 replies | |
| 2/2 | Add RADOS API lock testssrc/ src/ | +307 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/2 v2] librados: Add RADOS locks to the C/C++ API
Hi team,
This set of patches export the RADOS advisory locking functionality to the C/C++ API.
They have been refactored to incorporate Josh suggestions from his review:
* Always set tag to "" for exclusive lock
* Add duration argument to lock_{exclusive, shared}
* Add lock flags to librados.h
* Return -EINVAL on client parsing error
* Remove unneeded std::string convertions
* Typos/style fixes
Kind Regards,
Filippos
Filippos Giannakos (2):
Add RADOS lock mechanism to the librados C/C++ API. Add RADOS API lock tests
src/Makefile.am | 11 +- src/include/rados/librados.h | 102 +++++++++++++- src/include/rados/librados.hpp | 29 ++++ src/librados/librados.cc | 180 ++++++++++++++++++++++++ src/test/librados/lock.cc | 301 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 621 insertions(+), 2 deletions(-) create mode 100644 src/test/librados/lock.cc
Signature · 1 line
1.7.10.4