]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't return data within the librados cb
authorYehuda Sadeh <yehuda@inktank.com>
Wed, 18 Dec 2013 21:10:21 +0000 (13:10 -0800)
committerSage Weil <sage@inktank.com>
Wed, 18 Dec 2013 21:10:33 +0000 (13:10 -0800)
commitd6a4f6adfaa75c3140d07d6df7be03586cc16183
tree26bd482d61469f51329b9d3ed801bf181a0467a9
parent5bb04763de38cedafbe3dfa76e67f2b617bb5938
rgw: don't return data within the librados cb

Fixes: #7030
The callback is running within a single Finisher thread, thus we
shouldn't block there. Append read data to a list and flush it within
the iterate context.

Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h