[PATCH] ext4: Fix the soft lockup with multi block allocator.

2007-12-21 Thread Aneesh Kumar K.V
With the multi block allocator when we don't have prealloc space we discard the existing preallocaltion data and try to rebuild the buddy cache. While discarding the loop through the group specific prealloc list. If we find any particular prealloc space being used we mark the space busy. If we are

Re: [PATCH] ext4: Fix the soft lockup with multi block allocator.

2007-12-21 Thread Alex Tomas
the patch looks OK Aneesh Kumar K.V wrote: With the multi block allocator when we don't have prealloc space we discard the existing preallocaltion data and try to rebuild the buddy cache. While discarding the loop through the group specific prealloc list. If we find any particular prealloc

Re: BUG: soft lockup - CPU#0 stuck for 11s! [fsstress:5534]

2007-12-21 Thread Aneesh Kumar K.V
On Thu, Dec 20, 2007 at 08:02:42PM +0530, Aneesh Kumar K.V wrote: I am seeing this with the patch queue. I can reproduce this on x86 and powerpc. I see the file system full when this happens. The same happens even without delalloc enabled. The below patch fix the same for me. One thing i

[PATCH] Fix dirty page accounting leak with ext3 data=journal

2007-12-21 Thread Björn Steinbrink
In 46d2277c796f9f4937bfa668c40b2e3f43e93dd0, try_to_free_buffers was changed to bail out if the page was dirty. That caused truncate_complete_page to leak massive amounts of memory, because the dirty bit was only cleared after the call to try_to_free_buffers. So the call to cancel_dirty_page was