]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: switch to calc_target(), part 1
authorIlya Dryomov <idryomov@gmail.com>
Thu, 28 Apr 2016 14:07:23 +0000 (16:07 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 22:36:26 +0000 (00:36 +0200)
commitd456d960a1c0205b5a11cd948e07381ea0cdbb36
tree57fad995941d806f665191d8c5d88ba3f311337a
parent5f3590320d0d2bbe9373006b4eb2e046afd4e085
libceph: switch to calc_target(), part 1

Replace __calc_request_pg() and most of __map_request() with
calc_target() and start using req->r_t.

ceph_osdc_build_request() however still encodes base_oid, because it's
called before calc_target() is and target_oid is empty at that point in
time; a printf in osdc_show() also shows base_oid.  This is fixed in
"libceph: switch to calc_target(), part 2".

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/osd_client.h
net/ceph/debugfs.c
net/ceph/osd_client.c