Re: [PATCH] fix for consistency errors after crash

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Amir G.
Date: Tuesday, July 6, 2010 - 6:00 am

Hi Eric,

I've seen you guys had some open RH bugs on ext3, who all share in
common the "bit already free" error.

This bug I reported can explain many different problems in ext[34].

Essentially, every time there is a kernel crash (or hard reboot)
during delete/truncate of a large file,
it may result in "bit already clear" error after reboot.

The problem is very simple and so is the fix.
I proved the problem with 100% recreation chances using a small patch,
instead of running statistical stress tests.
All I did was to add a print and 10 seconds delay after transaction
restart in ext3_free_branches and reboot > 5 seconds after the
transaction restarts, so that kjournald will have time to commit the
old transaction.
After the reboot, I always get "bit already clear" errors, because the
"half large truncate" transaction is not handled properly.

I did not get any response from ext4 guys so far and since this bug
dates back to ext3,
I was hoping you guys could take a look and put your weight on pushing
the fix upstream.

Thanks,
Amir.

On Wed, Jun 23, 2010 at 9:27 PM, Amir G. <amir73il@users.sourceforge.net> wrote:
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] fix for consistency errors after crash, Amir G., (Tue Jul 6, 6:00 am)
Re: [PATCH] fix for consistency errors after crash, Eric Sandeen, (Tue Jul 6, 9:00 am)
Re: [PATCH] fix for consistency errors after crash, Jan Kara, (Mon Jul 12, 12:37 pm)