summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2017-11-28 21:40:35 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2018-01-13 02:07:16 +0300
commit3c0f26ff9d040c6193b33689bbc03103854dba4d (patch)
treec0297332b86f96377f21745e40668c33710c5bfd /tools/perf/scripts/python/export-to-postgresql.py
parent1a1fc0b88e9019cb3b2f291bdcb2d03d38614690 (diff)
downloadlinux-3c0f26ff9d040c6193b33689bbc03103854dba4d.tar.xz
tcmu: fix free block calculation
The blocks_left calculation does not account for free blocks between 0 and thresh, so we could be queueing/waiting when there are enough blocks free. This has us add in the blocks between 0 and thresh as well as at the end from thresh to DATA_BLOCK_BITS. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions