kernel_optimize_test/fs/jbd2
Jan Kara 33d14975e5 jbd2: fix checkpoint list cleanup
Unlike comments and expectation of callers journal_clean_one_cp_list()
returned 1 not only if it freed the transaction but also if it freed
some buffers in the transaction. That could make
__jbd2_journal_clean_checkpoint_list() skip processing
t_checkpoint_io_list and continue with processing the next transaction.
This is mostly a cosmetic issue since the only result is we can
sometimes free less memory than we could. But it's still worth fixing.
Fix journal_clean_one_cp_list() to return 1 only if the transaction was
really freed.

Fixes: 50849db32a
Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
2015-10-17 22:35:09 -04:00
..
checkpoint.c jbd2: fix checkpoint list cleanup 2015-10-17 22:35:09 -04:00
commit.c jbd2: clean up feature test macros with predicate functions 2015-10-17 16:18:45 -04:00
journal.c jbd2: clean up feature test macros with predicate functions 2015-10-17 16:18:45 -04:00
Kconfig jbd2: remove debug dependency on debug_fs and update Kconfig help text 2013-06-12 23:07:51 -04:00
Makefile [PATCH] jbd2: rename jbd2 symbols to avoid duplication of jbd symbols 2006-10-11 11:14:15 -07:00
recovery.c jbd2: clean up feature test macros with predicate functions 2015-10-17 16:18:45 -04:00
revoke.c jbd2: clean up feature test macros with predicate functions 2015-10-17 16:18:45 -04:00
transaction.c jbd2: limit number of reserved credits 2015-08-04 11:21:52 -04:00