Skip to content

rbd: support for rbd map --exclusive

Ilya Dryomov ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rbd: move rbd_dev_destroy() call out of rbd_dev_image_release()drivers/block/rbd.c+5 -50 replies
2/9rbd: move rbd_unregister_watch() call into rbd_dev_image_release()drivers/block/rbd.c+3 -150 replies
3/9rbd: fix error handling around rbd_init_disk()drivers/block/rbd.c+44 -430 replies
4/9rbd: ignore unlock errorsdrivers/block/rbd.c+14 -180 replies
5/9rbd: store lock cookiedrivers/block/rbd.c+8 -50 replies
6/9rbd: support updating the lock cookie without releasing the lockdrivers/block/rbd.c include/linux/ceph/cls_lock_client.h net/ceph/cls_lock_client.c+97 -250 replies
7/9rbd: kill rbd_is_lock_supported()drivers/block/rbd.c+3 -110 replies
8/9rbd: return ResponseMessage result from rbd_handle_request_lock()drivers/block/rbd.c+26 -140 replies
9/9rbd: exclusive map optiondrivers/block/rbd.c+73 -100 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJason Dillaman
SeriesR-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] rbd: support for rbd map --exclusive

Hello,

This adds support for optionally disabling automatic exclusive lock transitions. Patches 1-3 fix some existing error paths and can go in independently.

Thanks,

Ilya

Ilya Dryomov (9):
rbd: move rbd_dev_destroy() call out of rbd_dev_image_release()
rbd: move rbd_unregister_watch() call into rbd_dev_image_release()
rbd: fix error handling around rbd_init_disk()
rbd: ignore unlock errors
rbd: store lock cookie
rbd: support updating the lock cookie without releasing the lock
rbd: kill rbd_is_lock_supported()
rbd: return ResponseMessage result from rbd_handle_request_lock()
rbd: exclusive map option

 drivers/block/rbd.c                  | 357 +++++++++++++++++++++--------------
 include/linux/ceph/cls_lock_client.h |   5 +
 net/ceph/cls_lock_client.c           |  51 +++++
 3 files changed, 270 insertions(+), 143 deletions(-)
Signature · 1 line
2.4.3