]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: remove CONFIG_JBD2_DEBUG to update t_max_wait
authorRitesh Harjani <riteshh@linux.ibm.com>
Wed, 16 Feb 2022 07:00:36 +0000 (12:30 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 26 Feb 2022 02:28:58 +0000 (21:28 -0500)
commitb2ab7229a7a453be5206861357ea095777335dfe
tree901f016551ed80a8eddd84cd7f8e9b3986b8060f
parent12ac2e5849a801d6abd5a19f5d61606ae97bc045
jbd2: remove CONFIG_JBD2_DEBUG to update t_max_wait

CONFIG_JBD2_DEBUG and jbd2_journal_enable_debug knobs were added in
update_t_max_wait(), since earlier it used to take a spinlock for
updating t_max_wait, which could cause a bottleneck while starting a
txn (start_this_handle()).

Since in previous patch, we have killed t_handle_lock completely, we
could get rid of this debug config and knob to let t_max_wait be
updated by default again.

Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/ad7319a601fd501079310747ce87d908e0944763.1644992076.git.riteshh@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/transaction.c