All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v2] librados: Add RADOS locks to the C/C++ API
@ 2013-06-04  9:52 Filippos Giannakos
  2013-06-04  9:52 ` [PATCH 1/2 v2] Add RADOS lock mechanism to the librados " Filippos Giannakos
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Filippos Giannakos @ 2013-06-04  9:52 UTC (permalink / raw)
  To: ceph-devel; +Cc: josh.durgin, synnefo-devel, Filippos Giannakos

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

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-05 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04  9:52 [PATCH 0/2 v2] librados: Add RADOS locks to the C/C++ API Filippos Giannakos
2013-06-04  9:52 ` [PATCH 1/2 v2] Add RADOS lock mechanism to the librados " Filippos Giannakos
2013-06-04  9:52 ` [PATCH 2/2 v2] Add RADOS API lock tests Filippos Giannakos
2013-06-05 20:40 ` [PATCH 0/2 v2] librados: Add RADOS locks to the C/C++ API Josh Durgin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.