Ilya Dryomov
d30291b985
libceph: variable-sized ceph_object_id
...
Currently ceph_object_id can hold object names of up to 100
(CEPH_MAX_OID_NAME_LEN) characters. This is enough for all use cases,
expect one - long rbd image names:
- a format 1 header is named "<imgname>.rbd"
- an object that points to a format 2 header is named "rbd_id.<imgname>"
We operate on these potentially long-named objects during rbd map, and,
for format 1 images, during header refresh. (A format 2 header name is
a small system-generated string.)
Lift this 100 character limit by making ceph_object_id be able to point
to an externally-allocated string. Apart from being able to work with
almost arbitrarily-long named objects, this allows us to reduce the
size of ceph_object_id from >100 bytes to 64 bytes.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com >
2016-05-26 00:36:22 +02:00
..
2016-04-04 10:41:08 -07:00
2016-01-20 17:09:18 -08:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-03-19 18:52:29 -07:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-04-09 10:41:34 -07:00
2016-04-04 10:41:08 -07:00
2016-05-26 00:36:22 +02:00
2016-04-04 10:41:08 -07:00
2016-01-23 12:24:56 -08:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-12 20:01:35 -07:00
2016-04-12 15:01:53 -07:00
2016-04-26 15:47:32 -07:00
2016-04-04 10:41:08 -07:00
2016-05-11 00:00:29 -04:00
2016-04-04 10:41:08 -07:00
2016-01-14 16:00:49 -08:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-04-04 10:41:08 -07:00
2016-04-12 20:01:35 -07:00
2016-04-12 10:25:30 -07:00
2016-03-22 15:36:02 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-25 13:01:04 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-02-27 19:15:51 -05:00
2016-04-04 10:41:08 -07:00
2016-05-11 00:00:29 -04:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-05-12 11:03:51 -04:00
2016-01-07 10:10:50 -05:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-04-07 17:22:20 -07:00
2016-03-24 19:50:32 -07:00
2016-04-04 10:41:08 -07:00
2016-02-18 16:23:24 -08:00
2016-04-04 10:41:08 -07:00
2016-05-12 15:52:50 -07:00
2016-01-14 16:00:49 -08:00
2016-04-09 10:33:58 -07:00
2016-05-10 23:58:18 -04:00
2016-05-09 17:40:59 -07:00
2016-04-04 10:41:08 -07:00
2016-01-14 16:00:49 -08:00
2016-04-04 10:41:08 -07:00
2016-03-29 17:20:10 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-01-14 16:00:49 -08:00
2016-04-04 10:41:08 -07:00
2015-11-13 21:53:18 -08:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-04-04 10:41:08 -07:00
2016-04-25 15:18:50 +02:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2015-12-06 21:17:14 -05:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-04-04 10:41:08 -07:00
2016-04-04 10:41:08 -07:00
2016-02-14 14:25:59 -08:00
2016-01-04 10:28:32 -05:00
2016-03-22 15:36:02 -07:00
2016-04-04 10:41:08 -07:00
2016-03-26 16:14:37 -04:00
2016-04-04 10:41:08 -07:00
2016-03-22 15:36:02 -07:00
2016-03-17 15:09:34 -07:00
2016-03-20 19:08:56 -07:00
2016-01-09 02:55:37 -05:00
2016-03-22 15:36:02 -07:00
2016-01-14 16:00:49 -08:00
2016-01-19 12:02:23 -05:00
2016-04-04 10:41:08 -07:00
2016-02-16 14:57:21 -07:00
2016-01-08 21:20:11 -05:00
2016-01-22 18:04:28 -05:00
2016-03-26 12:59:04 -07:00
2016-04-04 10:41:08 -07:00
2016-01-22 18:04:28 -05:00
2016-03-26 12:59:04 -07:00
2016-02-22 22:44:04 -05:00
2016-04-04 10:41:08 -07:00
2016-05-11 00:00:29 -04:00
2016-01-22 18:04:28 -05:00
2016-05-10 23:55:01 -04:00
2016-04-04 10:41:08 -07:00
2016-05-05 09:54:45 -05:00
2015-12-13 19:46:12 -05:00
2016-03-16 13:09:08 -04:00
2016-03-18 16:07:38 -04:00
2016-01-22 18:04:28 -05:00
2016-03-17 15:09:34 -07:00
2016-04-14 12:56:09 -07:00
2016-05-11 00:00:29 -04:00
2016-01-16 11:17:23 -08:00
2016-03-03 14:42:50 -07:00
2016-04-04 10:41:08 -07:00
2016-01-17 11:13:55 +01:00
2016-03-02 09:03:18 -08:00
2016-01-22 18:04:28 -05:00
2016-02-20 00:15:51 -05:00