Re: [PATCH] Check for error returned by kthread_create on creating journal thread

2007-04-22 Thread Pavel Emelianov
Andrew Morton wrote: > On Mon, 16 Apr 2007 11:41:14 +0400 > Pavel Emelianov <[EMAIL PROTECTED]> wrote: > >> If the thread failed to create the subsequent wait_event >> will hang forever. >> >> This is likely to happen if kernel hits max_threads limit. >> >> Will be critical for virtualization syst

Re: [PATCH] Check for error returned by kthread_create on creating journal thread

2007-04-20 Thread Andrew Morton
On Mon, 16 Apr 2007 11:41:14 +0400 Pavel Emelianov <[EMAIL PROTECTED]> wrote: > If the thread failed to create the subsequent wait_event > will hang forever. > > This is likely to happen if kernel hits max_threads limit. > > Will be critical for virtualization systems that limit the > number of

Re: [PATCH] Check for error returned by kthread_create on creating journal thread

2007-04-16 Thread Christoph Hellwig
On Mon, Apr 16, 2007 at 03:10:42PM +0400, Pavel Emelianov wrote: > Christoph Hellwig wrote: > > On Mon, Apr 16, 2007 at 11:41:14AM +0400, Pavel Emelianov wrote: > >> If the thread failed to create the subsequent wait_event > >> will hang forever. > >> > >> This is likely to happen if kernel hits ma

Re: [PATCH] Check for error returned by kthread_create on creating journal thread

2007-04-16 Thread Pavel Emelianov
Christoph Hellwig wrote: > On Mon, Apr 16, 2007 at 11:41:14AM +0400, Pavel Emelianov wrote: >> If the thread failed to create the subsequent wait_event >> will hang forever. >> >> This is likely to happen if kernel hits max_threads limit. >> >> Will be critical for virtualization systems that limit

Re: [PATCH] Check for error returned by kthread_create on creating journal thread

2007-04-16 Thread Christoph Hellwig
On Mon, Apr 16, 2007 at 11:41:14AM +0400, Pavel Emelianov wrote: > If the thread failed to create the subsequent wait_event > will hang forever. > > This is likely to happen if kernel hits max_threads limit. > > Will be critical for virtualization systems that limit the > number of tasks and kern

[PATCH] Check for error returned by kthread_create on creating journal thread

2007-04-16 Thread Pavel Emelianov
If the thread failed to create the subsequent wait_event will hang forever. This is likely to happen if kernel hits max_threads limit. Will be critical for virtualization systems that limit the number of tasks and kernel memory usage within the container. --- ./fs/jbd/journal.c.jbdthreads 2