Re: Deadlock in ctree.c?

2012-06-22 Thread Jan Schmidt
On Fri, June 22, 2012 at 16:23 (+0200), Josef Bacik wrote: > On 06/22/2012 09:38 AM, Jan Schmidt wrote: >> On Fri, June 22, 2012 at 15:30 (+0200), Josef Bacik wrote: >>> l2 shouldn't be locked anymore, if we're in push_leaf_left it's because we >>> cow'ed l2 and are holding a lock on it, so really

Re: Deadlock in ctree.c?

2012-06-22 Thread Josef Bacik
On 06/22/2012 09:38 AM, Jan Schmidt wrote: On Fri, June 22, 2012 at 15:30 (+0200), Josef Bacik wrote: On 06/22/2012 07:00 AM, Jan Schmidt wrote: While debugging my tree mod log, after several hours of successful iteration I finally reached a dead lock. I got stacks with btrfs_next_leaf and push

Re: Deadlock in ctree.c?

2012-06-22 Thread Jan Schmidt
On Fri, June 22, 2012 at 15:30 (+0200), Josef Bacik wrote: > On 06/22/2012 07:00 AM, Jan Schmidt wrote: >> While debugging my tree mod log, after several hours of successful iteration >> I >> finally reached a dead lock. I got stacks with btrfs_next_leaf and >> push_leaf_left and looked into those

Re: Deadlock in ctree.c?

2012-06-22 Thread Josef Bacik
On 06/22/2012 07:00 AM, Jan Schmidt wrote: While debugging my tree mod log, after several hours of successful iteration I finally reached a dead lock. I got stacks with btrfs_next_leaf and push_leaf_left and looked into those. If I'm not mistaken, there is at least one deadlock situation between