libceph: get rid of CEPH_MAX_OID_NAME_LEN limit
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libceph: make ceph_osdc_put_request() accept NULLfs/ net/ | +8 | 0 replies | |
| 2/6 | libceph: grab snapc in ceph_osdc_alloc_request()net/ | +4 | 0 replies | |
| 3/6 | libceph: move message allocation out of ceph_osdc_alloc_request()drivers/ fs/ fs/ +2 more | +82 | 0 replies | |
| 4/6 | libceph: change how osd_op_reply message size is calculatednet/ | +4 | 0 replies | |
| 5/6 | libceph: variable-sized ceph_object_iddrivers/ fs/ fs/ +5 more | +150 | 0 replies | |
| 6/6 | rbd: use header_oid instead of header_namedrivers/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] libceph: get rid of CEPH_MAX_OID_NAME_LEN limit
Hello,
I pushed wip-oid, to get rid of the annoying CEPH_MAX_OID_NAME_LEN limit on the length of an object name that libceph can work with, which translated into the limit of ~100 chars on the length of an rbd image name. The new image name limit is ~4000 chars. (The exact number depends on how many mon IPs and map options were specified - mons
+ options + image name string must fit into a single page.)
We should define a sensible limit and start enforcing it on rbd create/clone/etc and on open/rbd map. Limits from the lower layers
4096 - strlen(".rbd") on create for format 1 4096 - strlen("rbd_id.") on create for format 2 ~4000 on map
aren't something we want to rely on or support.
Thanks,
Ilya
Ilya Dryomov (6):
libceph: make ceph_osdc_put_request() accept NULL
libceph: grab snapc in ceph_osdc_alloc_request()
libceph: move message allocation out of ceph_osdc_alloc_request()
libceph: change how osd_op_reply message size is calculated
libceph: variable-sized ceph_object_id
rbd: use header_oid instead of header_name
drivers/block/rbd.c | 83 ++++++++++++++------------- fs/ceph/addr.c | 23 ++++---- fs/ceph/file.c | 9 ++- fs/ceph/ioctl.c | 2 +- include/linux/ceph/osd_client.h | 1 + include/linux/ceph/osdmap.h | 62 ++++++++++++--------- net/ceph/debugfs.c | 2 +- net/ceph/osd_client.c | 120 ++++++++++++++++++++++------------------ net/ceph/osdmap.c | 93 ++++++++++++++++++++++++++++++- 9 files changed, 266 insertions(+), 129 deletions(-)
Signature · 1 line
2.4.3