diff options
author | Mike Christie <[email protected]> | 2017-11-28 12:40:35 -0600 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2018-01-12 15:07:16 -0800 |
commit | 3c0f26ff9d040c6193b33689bbc03103854dba4d (patch) | |
tree | c0297332b86f96377f21745e40668c33710c5bfd /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions