]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librbd: random unit test failures due to shut down race 14166/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Mar 2017 14:20:24 +0000 (10:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 27 Mar 2017 15:41:35 +0000 (11:41 -0400)
Fixes: http://tracker.ceph.com/issues/19389
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/image/CreateRequest.cc

index f9e43e79c6afd292b8887ee7a77b92b853f06455..6ebfebbfd45a9e329329bf77b39b29faed9d0d00 100644 (file)
@@ -761,6 +761,7 @@ void CreateRequest<I>::complete(int r) {
     ldout(m_cct, 20) << "done." << dendl;
   }
 
+  m_data_io_ctx.close();
   m_on_finish->complete(r);
   delete this;
 }