Trigger buffer writers when not enough space in buffer left
stencillogic opened this issue · comments
stencillogic commented
Trigger buffer writers inside BlockMgr::allocate_on_cache when not enough space in buffer left. Wait untill dirty blocks are written
and retry allocation. Repeat until successful.
stencillogic commented
Implemented: buffer writers wake up every second. If there is not enough space in the buffer, BlockMgr::allocate_on_cache will wait and retry in a loop until it gets free block.