Re: [PATCH 0/2 v2] librados: Add RADOS locks to the C/C++ API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/04/2013 02:52 AM, Filippos Giannakos wrote:
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


Applied, thanks!

Josh
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux