Hi Mike,

This RFC patch-set expands on your recently proposed cluster API changes
to add rbd_tcm COMPARE AND WRITE support.

Rather than offloading the entire COMPARE AND WRITE operation to the
cluster back-end, these changes extend on the existing local semaphore
usage, to additionally take an RBD COMPARE AND WRITE device lock. RBD
device lock acquisition is handled via a newly added rbd_tcm workqueue.

I'd appreciate feedback on the overall direction of these changes.

Cheers, David

--

 drivers/block/Kconfig                |   3 +-
 drivers/block/rbd.h                  |   3 +
 drivers/block/rbd_main.c             |  26 ++--
 drivers/block/rbd_tcm.c              | 208 +++++++++++++++++++++++++++
 drivers/target/target_core_sbc.c     |  28 +++-
 include/target/target_core_cluster.h |   4 +
 6 files changed, 253 insertions(+), 19 deletions(-)

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

Reply via email to