diff options
| author | Jack Wang <[email protected]> | 2021-07-12 08:07:47 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-07-15 14:24:14 -0300 |
| commit | e2d98504c697f9c8e45b815062f8893b10808d8e (patch) | |
| tree | cf1e8f39bcf296a8fb316fac7921bb40d6459aec /tools/perf/scripts/python/stackcollapse.py | |
| parent | a10431eff136ef15e1f9955efe369744b1294db1 (diff) | |
RDMA/rtrs: Enable the same selective signal for heartbeat and IO
On idle session, because we do not do signal for heartbeat, it will
overflow the send queue after sometime.
To avoid that, we need to enable the signal for heartbeat. To do that, add
a new member signal_interval in rtrs_path, which will set min of
queue_depth and SERVICE_CON_QUEUE_DEPTH, and track it for both heartbeat
and IO, so the sq queue full accounting is correct.
Fixes: b38041d50add ("RDMA/rtrs: Do not signal for heatbeat")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jack Wang <[email protected]>
Reviewed-by: Aleksei Marov <[email protected]>
Reviewed-by: Gioh Kim <[email protected]>
Reviewed-by: Md Haris Iqbal <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions