Re: [PATCH] Btrfs: remove BUG_ON in start_transaction

2016-09-14 Thread Josef Bacik
On 09/13/2016 10:15 PM, Liu Bo wrote: Since we could get errors from the concurrent aborted transaction, the check of this BUG_ON in start_transaction is not true any more. Say, while flushing free space cache inode's dirty pages, btrfs_finish_ordered_io -> btrfs_join_transaction_nolock (

[PATCH] Btrfs: remove BUG_ON in start_transaction

2016-09-13 Thread Liu Bo
Since we could get errors from the concurrent aborted transaction, the check of this BUG_ON in start_transaction is not true any more. Say, while flushing free space cache inode's dirty pages, btrfs_finish_ordered_io -> btrfs_join_transaction_nolock (the transaction has been aborted.)