usnic: subtract number of errored insertions from loop count
When we get errors, the entry.data field tells us how many errors are being reported. So decrement the loop count variable by that much. This fixes CSCut30441.
Этот коммит содержится в:
родитель
a188cb2ff9
Коммит
1b836d784c
@ -232,6 +232,9 @@ add_procs_reap_fi_av_inserts(opal_btl_usnic_module_t *module,
|
||||
else if (-FI_EAVAIL == ret) {
|
||||
ret = fi_eq_readerr(module->av_eq, &err_entry, 0);
|
||||
if (sizeof(err_entry) == ret) {
|
||||
/* The usnic provider returns the number of inserts
|
||||
that errored in entry.data */
|
||||
num_left -= entry.data;
|
||||
|
||||
/* Got some kind of address failure. This usually means
|
||||
that we couldn't find a route to that peer (e.g., the
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user