commit | 4295f2217a5aa8ef2738e3a368db3c1ceab41212 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Mon Jan 27 17:40:18 2014 +0200 |
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | Mon Jan 27 23:57:28 2014 +0200 |
tree | 557b4efd8558bfa71bae87413d0f4d6f0ba0511a | |
parent | 2d0ebc5d591f49131bf8f93b54c5424162c3fb7f [diff] |
libceph: introduce and start using oid abstraction In preparation for tiering support, which would require having two (base and target) object names for each osd request and also copying those names around, introduce struct ceph_object_id (oid) and a couple helpers to facilitate those copies and encapsulate the fact that object name is not necessarily a NUL-terminated string. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>