Commit e7f9715
committed
osc/rdma: set state_region->base for non accelerated btl
In allocate_state_shared(), state_region->base is used to
calculate peer->state when CPU atomics is not used.
Currently it is set only if accelerated btl is used,
but it is used for non-accelerated btl too, causing peer->state
to be set incorrectly.
This patch addressed the issue.
Signed-off-by: Wei Zhang <wzam@amazon.com>1 parent fe92fbe commit e7f9715
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| 717 | + | |
| 718 | + | |
717 | 719 | | |
718 | 720 | | |
719 | 721 | | |
720 | 722 | | |
721 | 723 | | |
722 | | - | |
723 | 724 | | |
724 | 725 | | |
725 | 726 | | |
| |||
0 commit comments