[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTimhnzadsUOYCJ2J--GfJL74svFPnw@mail.gmail.com>
Date: Mon, 13 Jun 2011 17:02:51 -0700
From: Manish Katiyar <mkatiyar@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: jack@...e.cz, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] jbd: Make jbd transactions come from its own cache.
On Mon, Jun 13, 2011 at 4:41 PM, Andrew Morton
<akpm@...ux-foundation.org> wrote:
> On Sat, 11 Jun 2011 02:36:01 -0700
> Manish Katiyar <mkatiyar@...il.com> wrote:
>
>> Allocate a slab cache for jbd transaction allocations. It may help to test
>> various memory failure scenarios.
>
> This doesn't seem terribly useful to me. That's truly ancient code and
> the change rate is really low. If there were problem in there then
> we'd already know about them. And the allocation frequency for these
> objects is very low.
>
> If you had some deeper reason for making this change, please describe
> it. For example, were you chasing some bug?
Hi Andrew,
I was doing similar changes for jbd2, hence did it for jbd too. The
changes for jbd2 were done so that we can use the
fault injection framework to introduce/test ENOMEM situations from the
journal transaction allocation layer and test
how well the callers (ext4 code in particular) deal with such
situations and fix them if required.
--
Thanks -
Manish
--
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