]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: wait for completion only if not completion available
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 14 Jan 2015 19:47:18 +0000 (11:47 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 14 Jan 2015 19:47:18 +0000 (11:47 -0800)
commitf3a57ee6a620b6caf88ef38f77774af083d92340
treea34e5e1169d1a897523c622b2e08c7e6a02f2c8d
parenta78a93e5a13298fd92c38841e86aa527d98f4d24
rgw: wait for completion only if not completion available

In a bucket aio operation, wait for completions only if there are no
completions available. Otherwise we might wait forever, as everything
already complete.

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