Re: [PATCH 27/35] btrfs: handle delayed ref head accounting cleanup in abort

2018-08-31 Thread Josef Bacik
On Fri, Aug 31, 2018 at 10:42:13AM +0300, Nikolay Borisov wrote: > > > On 30.08.2018 20:42, Josef Bacik wrote: > > We weren't doing any of the accounting cleanup when we aborted > > transactions. Fix this by making cleanup_ref_head_accounting global and > > calling it from the abort code, this f

Re: [PATCH 27/35] btrfs: handle delayed ref head accounting cleanup in abort

2018-08-31 Thread Nikolay Borisov
On 30.08.2018 20:42, Josef Bacik wrote: > We weren't doing any of the accounting cleanup when we aborted > transactions. Fix this by making cleanup_ref_head_accounting global and > calling it from the abort code, this fixes the issue where our > accounting was all wrong after the fs aborts. >

[PATCH 27/35] btrfs: handle delayed ref head accounting cleanup in abort

2018-08-30 Thread Josef Bacik
We weren't doing any of the accounting cleanup when we aborted transactions. Fix this by making cleanup_ref_head_accounting global and calling it from the abort code, this fixes the issue where our accounting was all wrong after the fs aborts. Signed-off-by: Josef Bacik --- fs/btrfs/ctree.h