Re: [PATCH] ext4: fix unhandled ext4_free_data allocation failure

From: Theodore Tso
Date: Sun Jan 11 2009 - 22:58:56 EST


On Sun, Jan 11, 2009 at 08:46:32AM -0600, Eric Sandeen wrote:
>
> Well, this will now force a filesystem error (then remount-ro or panic
> (or ignore) if the allocation fails. I'm not sure that's better...?
>

Well, our choices basically are:

1) Force a filesystem error
2) Sleep and retry the allocation
3) Don't add the freed blocks to the list regions that mballoc should
be allowed to allocate from after the transaction commits. This
results in the blocks getting "leaked" until the filesystem is
mounted/unounted.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/