diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-01-25 18:16:21 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 12:16:12 +0100 |
commit | fe5478e0f6694312ad17dea7083296c1aea0a049 (patch) | |
tree | f1795c4117215168d28514ea088a88d49832f344 /net/ceph/cls_lock_client.c | |
parent | rbd: initialize rbd_dev->header_oloc early (diff) | |
download | linux-fe5478e0f6694312ad17dea7083296c1aea0a049.tar.xz linux-fe5478e0f6694312ad17dea7083296c1aea0a049.zip |
rbd: do away with obj_request in rbd_obj_read_sync()
rbd_obj_request machinery is completely unnecessary here; all that's
being done is fetching a metadata object - no striping, cloning, etc.
More importantly, rbd_osd_req_create() grabs pool id from layout and
that is becoming a data pool id.
Kill offset argument - all metadata objects are small and read in full.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'net/ceph/cls_lock_client.c')
0 files changed, 0 insertions, 0 deletions