Ilya Dryomov a90bb0c1d4 rbd: store and use obj_request->object_no
object_no can be trivially formatted into an object name.  We already
store object names in OSD requests with special care to avoid dynamic
allocations for short names.  Storing a name in obj_request, obtained
as below (!), is a waste and will be removed in the next commit.

    name = kmem_cache_alloc(rbd_segment_name_cache, ...);
    snprintf(name, ...);
    obj_request->object_name = kstrdup(name);
    kmem_cache_free(rbd_segment_name_cache, name);
    ...
    ceph_oid_aprintf(..., "%s", obj_request->object_name);

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-20 12:16:15 +01:00
..
2016-06-27 12:26:08 -07:00
2017-01-10 18:31:55 -08:00
2016-11-22 08:57:55 -07:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-12-25 17:21:22 +01:00
2016-06-27 12:26:08 -07:00
2016-06-27 12:26:08 -07:00
2017-02-20 12:16:15 +01:00
2013-11-08 09:10:30 -07:00
2016-06-27 12:26:08 -07:00