Commit 3319138
committed
ofi/mtl,btl: Add flags to track fabric/domain sharing with BTL
MTL is initialized and finalized before BTL.
When MTL and BTL share the same fabric and domain, BTL must be responsible
for closing them to ensure the correct order of resource finalization.
This commit adds flags to indicate whether the fabric and domain are shared
with BTL, allowing MTL to skip closing these objects during its finalization.
Signed-off-by: Jessie Yang <[email protected]>1 parent 6d566f8 commit 3319138
File tree
3 files changed
+23
-4
lines changed- ompi/mca/mtl/ofi
- opal/mca/btl/ofi
3 files changed
+23
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1127 | 1130 | | |
1128 | 1131 | | |
1129 | 1132 | | |
| |||
1206 | 1209 | | |
1207 | 1210 | | |
1208 | 1211 | | |
1209 | | - | |
| 1212 | + | |
| 1213 | + | |
1210 | 1214 | | |
1211 | 1215 | | |
1212 | 1216 | | |
1213 | | - | |
| 1217 | + | |
1214 | 1218 | | |
1215 | 1219 | | |
1216 | 1220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
111 | 116 | | |
112 | 117 | | |
113 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| 539 | + | |
539 | 540 | | |
540 | 541 | | |
541 | 542 | | |
| |||
575 | 576 | | |
576 | 577 | | |
577 | 578 | | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
578 | 584 | | |
579 | 585 | | |
580 | 586 | | |
581 | 587 | | |
| 588 | + | |
| 589 | + | |
582 | 590 | | |
583 | 591 | | |
584 | 592 | | |
| |||
591 | 599 | | |
592 | 600 | | |
593 | 601 | | |
| 602 | + | |
| 603 | + | |
594 | 604 | | |
595 | 605 | | |
596 | 606 | | |
| |||
775 | 785 | | |
776 | 786 | | |
777 | 787 | | |
778 | | - | |
| 788 | + | |
779 | 789 | | |
780 | 790 | | |
781 | 791 | | |
782 | | - | |
| 792 | + | |
783 | 793 | | |
784 | 794 | | |
785 | 795 | | |
| |||
0 commit comments