Repository navigation
Commit 11e3bb8
committed
Fix nsdperf RDMA async poll rebuild
RdmaAsync::threadBody() rebuilt its poll lists whenever rdmaDevTab.size() differed from lastDevCount, but never updated lastDevCount and never cleared the existing lists before appending. Duplicate nonblocking async FDs could accumulate, so a repeated CLIENT_REREGISTER event could cause a second ibv_get_async_event() call on an already-drained event, returning EAGAIN and terminating nsdperf.
Clear the RDMA device and pollfd lists before repopulating them and record the device count after rebuilding.1 parent 6794da0 commit 11e3bb8
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8153 | 8153 | | |
8154 | 8154 | | |
8155 | 8155 | | |
| 8156 | + | |
| 8157 | + | |
| 8158 | + | |
| 8159 | + | |
| 8160 | + | |
8156 | 8161 | | |
8157 | 8162 | | |
8158 | 8163 | | |
| |||
8176 | 8181 | | |
8177 | 8182 | | |
8178 | 8183 | | |
| 8184 | + | |
8179 | 8185 | | |
8180 | 8186 | | |
8181 | 8187 | | |
| |||
0 commit comments