diff options
author | Mike Christie <mchristi@redhat.com> | 2017-11-28 12:40:35 -0600 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2018-01-12 15:07:16 -0800 |
commit | 3c0f26ff9d040c6193b33689bbc03103854dba4d (patch) | |
tree | c0297332b86f96377f21745e40668c33710c5bfd /Makefile | |
parent | 1a1fc0b88e9019cb3b2f291bdcb2d03d38614690 (diff) |
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 'Makefile')
0 files changed, 0 insertions, 0 deletions