Re: [PATCH 06/10] btrfs: update may_commit_transaction to use the delayed refs rsv

2018-12-06 Thread Nikolay Borisov
On 3.12.18 г. 17:20 ч., Josef Bacik wrote: > Any space used in the delayed_refs_rsv will be freed up by a transaction > commit, so instead of just counting the pinned space we also need to > account for any space in the delayed_refs_rsv when deciding if it will > make a different to commit the t

[PATCH 06/10] btrfs: update may_commit_transaction to use the delayed refs rsv

2018-12-03 Thread Josef Bacik
Any space used in the delayed_refs_rsv will be freed up by a transaction commit, so instead of just counting the pinned space we also need to account for any space in the delayed_refs_rsv when deciding if it will make a different to commit the transaction to satisfy our space reservation. If we ha