]> git.apps.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:12:07 +0000 (13:12 -0800)
commit7587ee52161d74a41bf89dc741e8ece9c964fb67
tree2029ab5340d091a02051a4a08ff6452230c2aafe
parent9bd1ebe960aae69f6528a33809a58c13481f8df3
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>
(cherry picked from commit d6a4f6adfaa75c3140d07d6df7be03586cc16183)
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h