From: Yehuda Sadeh Date: Sat, 2 May 2015 23:38:08 +0000 (-0700) Subject: rgw: stat_async() sets the object locator appropriately X-Git-Tag: v9.0.3~76^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d7d117121858155acc8548908e9459a48c676dd1;p=ceph.git rgw: stat_async() sets the object locator appropriately Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index eba32ab53cb20..0730f6ce75d80 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -4908,6 +4908,7 @@ int RGWRados::Object::Stat::stat_async() op.stat(&result.size, &result.mtime, NULL); op.getxattrs(&result.attrs, NULL); state.completion = librados::Rados::aio_create_completion(NULL, NULL, NULL); + state.io_ctx.locator_set_key(loc); r = state.io_ctx.aio_operate(oid, state.completion, &op, NULL); if (r < 0) { ldout(store->ctx(), 5) << __func__ << ": ERROR: aio_operate() returned ret=" << r << dendl;