]> git.baikalelectronics.ru Git - kernel.git/commit
Updated locking documentation for transaction_t
authorAlexander Lochmann <alexander.lochmann@tu-dortmund.de>
Thu, 11 Feb 2021 17:14:10 +0000 (18:14 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 2 Apr 2021 15:37:58 +0000 (11:37 -0400)
commit6f9a533f93304b18100016e446674ce2f748d49b
treee95ec2557d37bc7eadc92362b9002ffd47ca5fac
parent9a6cc5462396313a055fee58063366d45b76c053
Updated locking documentation for transaction_t

Some members of transaction_t are allowed to be read without any lock
being held if accessed from the correct context.  We used LockDoc's
findings to determine those members.  Each member of them is marked
with a short comment: "no lock needed for jbd2 thread".

Signed-off-by: Alexander Lochmann <alexander.lochmann@tu-dortmund.de>
Signed-off-by: Horst Schirmeier <horst.schirmeier@tu-dortmund.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210211171410.17984-1-alexander.lochmann@tu-dortmund.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
include/linux/jbd2.h