All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] rbd_tcm cluster COMPARE AND WRITE
@ 2015-07-29  1:15 David Disseldorp
  2015-07-29  1:15 ` [RFC PATCH 1/5] SQUASH rbd/locking: remove rbd_warn() carriage returns David Disseldorp
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: David Disseldorp @ 2015-07-29  1:15 UTC (permalink / raw)
  To: mchristi; +Cc: ceph-devel

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(-)


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

end of thread, other threads:[~2015-07-29 10:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29  1:15 [RFC PATCH 0/5] rbd_tcm cluster COMPARE AND WRITE David Disseldorp
2015-07-29  1:15 ` [RFC PATCH 1/5] SQUASH rbd/locking: remove rbd_warn() carriage returns David Disseldorp
2015-07-29  1:15 ` [RFC PATCH 2/5] SQUASH rbd: fix recursive BLK_DEV_RBD_TCM dependency David Disseldorp
2015-07-29  1:15 ` [RFC PATCH 3/5] rbd: export rbd_dev_[un]lock() David Disseldorp
2015-07-29  1:15 ` [RFC PATCH 4/5] drivers/rbd_tcm: Add cluster API CAW locking hooks David Disseldorp
2015-07-29  1:15 ` [RFC PATCH 5/5] target/core_sbc: use cluster API hooks for COMPARE AND WRITE David Disseldorp
2015-07-29  6:58 ` [RFC PATCH 0/5] rbd_tcm cluster " Christoph Hellwig
2015-07-29  9:31 ` Mike Christie
2015-07-29 10:04   ` David Disseldorp

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.