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>
Этот коммит содержится в:
родитель
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"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user