Backport of grequest fix
authorAlastair McKinstry <mckinstry@debian.org>
Wed, 20 Jan 2021 17:22:18 +0000 (17:22 +0000)
committerAlastair McKinstry <mckinstry@debian.org>
Wed, 20 Jan 2021 17:22:18 +0000 (17:22 +0000)
Bug-Origin:  https://github.com/open-mpi/ompi/pull/8347
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979480
Forwarded: not-needed
Last-Updated: 2021-01-20

Gbp-Pq: Name grequest-fix.patch

ompi/request/grequest.c

index c895b4232b6e325216a587c40b7a37a3d683c08c..02affd642aa8230fd38a1707db2036da2302f4a4 100644 (file)
@@ -163,6 +163,7 @@ int ompi_grequest_start(
     greq->greq_free.c_free = gfree_fn;
     greq->greq_cancel.c_cancel = gcancel_fn;
     greq->greq_base.req_status = ompi_status_empty;
+    greq->greq_base.req_complete = REQUEST_PENDING;
 
     *request = &greq->greq_base;
     return OMPI_SUCCESS;