Re: kjournald keeps reference to namespace

From: Andrew Morton
Date: Fri Feb 24 2006 - 16:37:34 EST


Paul Collins <paul@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Herbert Poetzl <herbert@xxxxxxxxxxxx> writes:
>
> > On Fri, Feb 17, 2006 at 05:54:28PM -0800, Andrew Morton wrote:
> >> I think it'd be better to convert ext3 to use the kthread API which
> >> appears to accidentally not have this problem, because such threads
> >> are parented by keventd, which were parented by init.
> >
> > sounds like a plan!
>
> Here's my attempt at such a conversion. Since jbd doesn't seem to
> want to collect an exit status, I didn't bother with kthread_stop().

Ah. I already did something similar.
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc4/2.6.16-rc4-mm2/broken-out/jbd-convert-kjournald-to-kthread-api.patch

> I got overexcited and also embedded the journal device in the process
> name, but that's probably useless churn. Looks nice in pstree though:
>
> |-kthread-+-kblockd/0
> | |-khubd
> | |-2*[pdflush]
> | |-aio/0
> | |-v9fs/0
> | |-cqueue/0
> | |-kfand
> | |-kcryptd/0
> | |-kjournald/3:3
> | |-kjournald/3:8
> | |-kjournald/3:4
> | |-kjournald/3:5
> | `-kjournald/254:1

We only have 15 chars for that string - the final one you have there is on
the raggedy edge.
-
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/