]> www.infradead.org Git - linux-platform-drivers-x86.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)
commit3042b1b45c4106feff063932d4fd481c5009dbe1
treee95ec2557d37bc7eadc92362b9002ffd47ca5fac
parentd699ae4fc27496d01e8bc5ab2106bd79d1e7be92
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