It's possible during unit tests for the requests to complete
prior to marking the Context as complete. In this case, the
Context will fire while locks are being held.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
extents);
ContextCompletion *completion =
- new ContextCompletion(create_callback_context(), true);
+ new ContextCompletion(create_async_callback_context(), true);
for (vector<ObjectExtent>::iterator p = extents.begin();
p != extents.end(); ++p) {
ldout(cct, 20) << " ex " << *p << dendl;