]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: introduce and start using oid abstraction
authorIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 27 Jan 2014 15:40:18 +0000 (17:40 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Mon, 27 Jan 2014 21:57:28 +0000 (23:57 +0200)
commit9a162bb2c9a035f2338609b3d291d6fbef29a81b
tree557b4efd8558bfa71bae87413d0f4d6f0ba0511a
parentbaaa9358262801b2188c8d19c4d436ca9ef8f2da
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>
drivers/block/rbd.c
include/linux/ceph/osd_client.h
include/linux/ceph/osdmap.h
net/ceph/debugfs.c
net/ceph/osd_client.c