linux/fs/jbd2
Pavel Emelianov 97f0678467 jbd: check for error returned by kthread_create on creating journal thread
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.

(akpm: JBD should be converted fully to the kthread API: kthread_should_stop()
and kthread_stop()).

Cc: <linux-ext4@vger.kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:13 -07:00
..
checkpoint.c [PATCH] jbd2: rename jbd2 symbols to avoid duplication of jbd symbols 2006-10-11 11:14:15 -07:00
commit.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
journal.c jbd: check for error returned by kthread_create on creating journal thread 2007-05-08 11:15:13 -07:00
Makefile [PATCH] jbd2: rename jbd2 symbols to avoid duplication of jbd symbols 2006-10-11 11:14:15 -07:00
recovery.c [PATCH] jbd2: switch blks_type from sector_t to ull 2006-10-11 11:14:18 -07:00
revoke.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
transaction.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00