Re: [PATCH v2] Btrfs: fix race waiting for ordered extents at transaction commit

2015-02-09 Thread Filipe David Manana
On Mon, Feb 9, 2015 at 12:21 PM, Filipe Manana fdman...@suse.com wrote: There's a short time window where a race can happen between two or more tasks that hold a transaction handle for the same transaction and where one starts the transaction commit before the other tasks attempt to split

[PATCH v2] Btrfs: fix race waiting for ordered extents at transaction commit

2015-02-09 Thread Filipe Manana
There's a short time window where a race can happen between two or more tasks that hold a transaction handle for the same transaction and where one starts the transaction commit before the other tasks attempt to split their pending ordered extents list into the transaction's pending ordered