Re: [PATCH 20/23] btrfs: don't force commit if we are data

Nikolay Borisov
2020-02-03T16:12:37Z

On 1.02.20 г. 0:36 ч., Josef Bacik wrote:
> We used to unconditionally commit the transaction at least 2 times and
> then on the 3rd try check against pinned space to make sure committing
> the transaction was worth the effort. This is overkill, we know nobody
> is going to steal our reservation, and if we can't make our reservation
> with the pinned amount simply bail out.
>
> Signed-off-by: Josef Bacik <josef@toxicpanda.com>

Reviewed-by: Nikolay Borisov <nborisov@suse.com>

I think the previous patch can be dropped and simply this one applied
after it.