diff options
author | Juergen Gross <[email protected]> | 2018-08-13 16:01:10 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2018-08-27 12:12:03 -0400 |
commit | 973e5405f2f67ddbb2bf07b3ffc71908a37fea8e (patch) | |
tree | 291850d68c314417cb2b074fddf9aa5171126a7a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b86d865cb1cae1e61527ea0b8977078bbf694328 (diff) |
xen/blkback: don't keep persistent grants too long
Persistent grants are allocated until a threshold per ring is being
reached. Those grants won't be freed until the ring is being destroyed
meaning there will be resources kept busy which might no longer be
used.
Instead of freeing only persistent grants until the threshold is
reached add a timestamp and remove all persistent grants not having
been in use for a minute.
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Roger Pau Monné <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions