summaryrefslogtreecommitdiffstats
path: root/net/ceph/cls_lock_client.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-01-25 18:16:21 +0100
committerIlya Dryomov <idryomov@gmail.com>2017-02-20 12:16:12 +0100
commitfe5478e0f6694312ad17dea7083296c1aea0a049 (patch)
treef1795c4117215168d28514ea088a88d49832f344 /net/ceph/cls_lock_client.c
parent431a02cd82dd028f650d588f7cedc78643c5c86a (diff)
downloadlinux-fe5478e0f6694312ad17dea7083296c1aea0a049.tar.gz
linux-fe5478e0f6694312ad17dea7083296c1aea0a049.tar.bz2
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