Re: [PATCH 12/35] btrfs: add ALLOC_CHUNK_FORCE to the flushing code

Nikolay Borisov
2018-09-03T18:39:47Z

On 30.08.2018 20:42, Josef Bacik wrote:
> + if (flush_state == ALLOC_CHUNK_FORCE && !commit_cycles)
> + flush_state++;

This is a bit obscure. So if we allocated a chunk and !commit_cycles
just break from the loop? What's the reasoning behind this ?