Skip to content
Commit 3042b1b4 authored by Alexander Lochmann's avatar Alexander Lochmann Committed by Theodore Ts'o
Browse files

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: default avatarAlexander Lochmann <alexander.lochmann@tu-dortmund.de>
Signed-off-by: default avatarHorst Schirmeier <horst.schirmeier@tu-dortmund.de>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210211171410.17984-1-alexander.lochmann@tu-dortmund.de


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent d699ae4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment