diff options
| author | Jack Wang <[email protected]> | 2020-12-17 15:19:14 +0100 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-01-15 15:25:10 -0400 |
| commit | 6f5d1b3016d650f351e65c645a5eee5394547dd0 (patch) | |
| tree | cc305671c53ff10577d502d955699fe564933640 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e8ae7ddb48a1b81fd1e67da34a0cb59daf0445d6 (diff) | |
RDMA/rtrs-srv: Init wr_cnt as 1
Fix up wr_avail accounting. if wr_cnt is 0, then we do SIGNAL for first
wr, in completion we add queue_depth back, which is not right in the
sense of tracking for available wr.
So fix it by init wr_cnt to 1.
Fixes: 9cb837480424 ("RDMA/rtrs: server: main functionality")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Gioh Kim <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions