[PATCH 0/6] libceph: get rid of CEPH_MAX_OID_NAME_LEN limit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.4.3

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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux