1
1

MTL OFI: Allow retries in MTL progress for interrupted syscalls

This fixes a regression in sockets provider which could return -EINTR value
from fi_cq_read() due to a syscall being interrupted. The error value is
currently interpreted as fatal condition. Relax the rule so that we can retry
fi_cq_read() operation.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
Этот коммит содержится в:
Aravind Gopalakrishnan 2017-12-20 14:58:49 -08:00
родитель 3f7494aec1
Коммит fb68726baf

Просмотреть файл

@ -117,7 +117,7 @@ ompi_mtl_ofi_progress(void)
exit(1);
}
} else {
if (ret == -FI_EAGAIN) {
if (ret == -FI_EAGAIN || ret == -EINTR) {
break;
} else {
opal_output(0, "%s:%d: Error returned from fi_cq_read: %s(%zd).\n"