tmp_suning_uos_patched/fs/jbd2
Jan Kara a78bb11d7a jbd2: protect all log tail updates with j_checkpoint_mutex
There are some log tail updates that are not protected by j_checkpoint_mutex.
Some of these are harmless because they happen during startup or shutdown but
updates in jbd2_journal_commit_transaction() and jbd2_journal_flush() can
really race with other log tail updates (e.g. someone doing
jbd2_journal_flush() with someone running jbd2_cleanup_journal_tail()). So
protect all log tail updates with j_checkpoint_mutex.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2012-03-13 15:43:04 -04:00
..
checkpoint.c jbd2: split updating of journal superblock and marking journal empty 2012-03-13 15:41:04 -04:00
commit.c jbd2: protect all log tail updates with j_checkpoint_mutex 2012-03-13 15:43:04 -04:00
journal.c jbd2: protect all log tail updates with j_checkpoint_mutex 2012-03-13 15:43:04 -04:00
Kconfig Revert "task_struct: make journal_info conditional" 2009-12-17 13:23:24 -08:00
Makefile [PATCH] jbd2: rename jbd2 symbols to avoid duplication of jbd symbols 2006-10-11 11:14:15 -07:00
recovery.c jbd2: Unify log messages in jbd2 code 2011-11-01 19:09:18 -04:00
revoke.c jbd2: use KMEM_CACHE instead of kmem_cache_create() 2012-02-20 17:53:03 -05:00
transaction.c jbd2: allocate transaction from separate slab cache 2012-02-20 17:53:02 -05:00