]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't call http data callbacks under lock
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 20 Mar 2018 18:52:44 +0000 (11:52 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 12 Apr 2018 22:38:40 +0000 (15:38 -0700)
commit9b283915e3a2fef730223fff726817ad36f56e34
tree5d6327a4214870c256692fef79aa3d7ea409a90e
parent057aac4516b3af9c6c515fcfb6df7df4cc3bc393
rgw: don't call http data callbacks under lock

There is no need to hold req_data->lock when calling into client
callbacks. This removes an unneeded lock dependency (that is a
problem when cancelliing coroutines stack).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_http_client.cc