Re: [PATCH] Btrfs: break out of orphan cleanup if we can't make progress V2

2011-10-10 Thread Mitch Harder
On Sun, Oct 9, 2011 at 7:28 PM, Josef Bacik wrote: > On Sun, Oct 09, 2011 at 02:14:19PM -0500, Mitch Harder wrote: >> On Tue, Oct 4, 2011 at 10:54 AM, Josef Bacik wrote: >> > I noticed while running xfstests 83 that if we didn't have enough space to >> > delete our inode the orphan cleanup would

Re: [PATCH] Btrfs: break out of orphan cleanup if we can't make progress V2

2011-10-09 Thread Josef Bacik
On Sun, Oct 09, 2011 at 02:14:19PM -0500, Mitch Harder wrote: > On Tue, Oct 4, 2011 at 10:54 AM, Josef Bacik wrote: > > I noticed while running xfstests 83 that if we didn't have enough space to > > delete our inode the orphan cleanup would just loop.  This is because it > > keeps > > finding the

Re: [PATCH] Btrfs: break out of orphan cleanup if we can't make progress V2

2011-10-09 Thread Mitch Harder
On Tue, Oct 4, 2011 at 10:54 AM, Josef Bacik wrote: > I noticed while running xfstests 83 that if we didn't have enough space to > delete our inode the orphan cleanup would just loop.  This is because it keeps > finding the same orphan item and keeps trying to kill it but can't because we > don't

[PATCH] Btrfs: break out of orphan cleanup if we can't make progress V2

2011-10-04 Thread Josef Bacik
I noticed while running xfstests 83 that if we didn't have enough space to delete our inode the orphan cleanup would just loop. This is because it keeps finding the same orphan item and keeps trying to kill it but can't because we don't get an error back from iput for deleting the inode. So keep