commit | fe5478e0f6694312ad17dea7083296c1aea0a049 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Wed Jan 25 18:16:21 2017 +0100 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Feb 20 12:16:12 2017 +0100 |
tree | f1795c4117215168d28514ea088a88d49832f344 | |
parent | 431a02cd82dd028f650d588f7cedc78643c5c86a [diff] |
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>