Re: [PATCH v3] btrfs: Ignore errors from btrfs_qgroup_trace_extent_post

2018-01-30 Thread David Sterba
On Mon, Jan 29, 2018 at 10:06:52PM +0800, Qu Wenruo wrote: > > > On 2018年01月29日 21:53, Nikolay Borisov wrote: > > Running generic/019 with qgroups on the scratch device enabled is > > almost guaranteed to trigger the BUG_ON in btrfs_free_tree_block. It's > > supposed to trigger only on -ENOMEM, i

Re: [PATCH v3] btrfs: Ignore errors from btrfs_qgroup_trace_extent_post

2018-01-29 Thread Qu Wenruo
On 2018年01月29日 21:53, Nikolay Borisov wrote: > Running generic/019 with qgroups on the scratch device enabled is > almost guaranteed to trigger the BUG_ON in btrfs_free_tree_block. It's > supposed to trigger only on -ENOMEM, in reality, however, it's possible > to get -EIO from btrfs_qgroup_trace

[PATCH v3] btrfs: Ignore errors from btrfs_qgroup_trace_extent_post

2018-01-29 Thread Nikolay Borisov
Running generic/019 with qgroups on the scratch device enabled is almost guaranteed to trigger the BUG_ON in btrfs_free_tree_block. It's supposed to trigger only on -ENOMEM, in reality, however, it's possible to get -EIO from btrfs_qgroup_trace_extent_post. This function just finds the roots of the