]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rest-bench: change thread context for libs3 calls
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 27 Apr 2012 00:01:36 +0000 (17:01 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 4 May 2012 22:53:27 +0000 (15:53 -0700)
commitd54ef1c8055f63c944ebf52029a1483ebc4022ce
tree28e4908263afc4a4cbf668f951eb2446852a8e07
parent683223180614e0c2d6160042e0ae696ed985aa1e
rest-bench: change thread context for libs3 calls

Apparently S3_put_object() and S3_get_object() need to
run on the same thread as S3_runall_request_context() (at least
per context). So We now call them in the workqueue thread.

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
src/tools/rest_bench.cc