Re: [PATCH] Btrfs: check if previous transaction aborted to avoid fs corruption

2015-08-12 Thread Josef Bacik
On 08/12/2015 10:11 AM, fdman...@kernel.org wrote: From: Filipe Manana While we are committing a transaction, it's possible the previous one is still finishing its commit and therefore we wait for it to finish first. However we were not checking if that previous transaction ended up getting abo

[PATCH] Btrfs: check if previous transaction aborted to avoid fs corruption

2015-08-12 Thread fdmanana
From: Filipe Manana While we are committing a transaction, it's possible the previous one is still finishing its commit and therefore we wait for it to finish first. However we were not checking if that previous transaction ended up getting aborted after we waited for it to commit, so we ended up