[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071221105856.GA6989@skywalker>
Date: Fri, 21 Dec 2007 16:28:56 +0530
From: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>
To: ext4 development <linux-ext4@...r.kernel.org>
Cc: Theodore Tso <tytso@....edu>, Andreas Dilger <adilger@....com>,
Alex Tomas <bzzz@....com>
Subject: Re: BUG: soft lockup - CPU#0 stuck for 11s! [fsstress:5534]
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 observed with the patch queue
is, enabling delalloc by default. Delalloc doesn't handle the file system full
case because there is no block reservation. Unless we have block reservation i
guess we should disable delalloc by default.
I will send a full patch with proper log message.
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 72e1920..8b45ac0 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -3791,6 +3791,7 @@ repeat:
/* if we still need more blocks and some PAs were used, try again */
if (free < needed && busy) {
ext4_unlock_group(sb, group);
+ schedule_timeout(HZ);
goto repeat;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists