]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: updated locking documentation for journal_t
authorAlexander Lochmann <alexander.lochmann@tu-dortmund.de>
Thu, 11 Feb 2021 09:51:55 +0000 (10:51 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 2 Apr 2021 15:37:58 +0000 (11:37 -0400)
commit9a6cc5462396313a055fee58063366d45b76c053
treeb101b797e7a5a68c7dcdcc0fc865b169001d29bc
parent9ea73cb0f5943c62f1fdc4f69bece7c1a4a262f4
ext4: updated locking documentation for journal_t

Some members of transaction_t are allowed to be read without any lock
being held if consistency doesn't matter.  Based on LockDoc's
findings, we extended the locking documentation of those members.
Each one of them is marked with a short comment: "no lock for quick
racy checks".

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/ad82c7a9-a624-4ed5-5ada-a6410c44c0b3@tu-dortmund.de
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
include/linux/jbd2.h