Skip to content

Commit 0b0fedf

Browse files
authored
Merge pull request open-mpi#4656 from aravindksg/v2.x
MTL OFI: Allow retries in MTL progress for interrupted syscalls
2 parents a355ad6 + 0822f57 commit 0b0fedf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/mtl/ofi/mtl_ofi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ ompi_mtl_ofi_progress(void)
116116
exit(1);
117117
}
118118
} else {
119-
if (ret == -FI_EAGAIN) {
119+
if (ret == -FI_EAGAIN || ret == -EINTR) {
120120
break;
121121
} else {
122122
opal_output(0, "%s:%d: Error returned from fi_cq_read: %s(%zd).\n"

0 commit comments

Comments
 (0)