RFC Support rados locking
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Add support for userspace ceph DECODE_START.include/ | +23 | 0 replies | |
| 2/6 | ceph: add start/finish encoding helpersinclude/ | +55 | 0 replies | |
| 3/6 | auth.c: added ceph_entity_name_encodeinclude/ net/ | +13 | 0 replies | |
| 4/6 | osd_client: added single object method callinclude/ net/ | +50 | 0 replies | |
| 5/6 | cls_lock: add rados lockinginclude/ net/ net/ | +186 | 0 replies | |
| 6/6 | cls_lock: add support for lock_infoinclude/ net/ | +183 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/6] Support rados locking
Add decoding support for some commonly exchanged data structures. Adapt Mike's code to serve as a generic client for cls::lock in userspace.
Discussion points:
Is this how we want to represent object classes in the kernel client?
This defines ceph_locker to contain ceph_locker_id and ceph_locker_info from userspace. Is that what we want for adaptation of userspace data structures (in this case std::map<locker_id_t, locker_info_t>)?
There are quite a few strings in these data structures. Do we want to add utility functions to properly free them at some level?
Douglas Fuller (4):
auth.c: added ceph_entity_name_encode
osd_client: added single object method call
cls_lock: add rados locking
cls_lock: add support for lock_info
Mike Christie (2):
Add support for userspace ceph DECODE_START.
ceph: add start/finish encoding helpers
include/linux/ceph/auth.h | 2 + include/linux/ceph/cls_lock.h | 39 +++++ include/linux/ceph/decode.h | 78 ++++++++++ include/linux/ceph/osd_client.h | 6 + net/ceph/Makefile | 1 + net/ceph/auth.c | 11 ++ net/ceph/cls_lock.c | 329 ++++++++++++++++++++++++++++++++++++++++ net/ceph/osd_client.c | 44 ++++++ 8 files changed, 510 insertions(+) create mode 100644 include/linux/ceph/cls_lock.h create mode 100644 net/ceph/cls_lock.c
Signature · 1 line
1.9.3