diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-03-24 13:59:12 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-03-24 14:05:18 +0100 |
commit | 14d0d4d55ed579c471ec24c03cb3808d4d721a79 (patch) | |
tree | 2857fa7b8c00b2fe72919b34ed04256ad4ffb737 /lib/lz4/lz4.h | |
parent | bee01b78fa0199a6568cc88b0cfdb5611504c3e0 (diff) |
Fix block processor queue accounting
Dequeuing won't work if we have a backlog of 1 or 2 and the blocks
are used for internal buffering. Take that into account, similar to
the sync code. Also bump the minimum backlog to 3, just to make
absolutely sure we cannot run into a dequeue loop trying to allocate
a block.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/lz4/lz4.h')
0 files changed, 0 insertions, 0 deletions