Re: [PATCH] Btrfs: set no_trans_join after trying to expand the transaction

2011-06-15 Thread Josef Bacik
On 06/15/2011 10:36 AM, Jim Schutt wrote: > > Josef Bacik wrote: >> We can lockup if we try to allow new writers join the transaction and >> we have >> flushoncommit set or have a pending snapshot. This is because we set >> no_trans_join and then loop around and try to wait for ordered extents >>

Re: [PATCH] Btrfs: set no_trans_join after trying to expand the transaction

2011-06-15 Thread Jim Schutt
Josef Bacik wrote: We can lockup if we try to allow new writers join the transaction and we have flushoncommit set or have a pending snapshot. This is because we set no_trans_join and then loop around and try to wait for ordered extents again. The problem is the ordered endio stuff needs to joi

[PATCH] Btrfs: set no_trans_join after trying to expand the transaction

2011-06-14 Thread Josef Bacik
We can lockup if we try to allow new writers join the transaction and we have flushoncommit set or have a pending snapshot. This is because we set no_trans_join and then loop around and try to wait for ordered extents again. The problem is the ordered endio stuff needs to join the transaction, whi