Re: [PATCH 2/2] Updated locking documentation for journal_t

2021-02-11 Thread Jan Kara
On Wed 10-02-21 10:57:38, Alexander Lochmann wrote: > 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

[PATCH 2/2] Updated locking documentation for journal_t

2021-02-10 Thread Alexander Lochmann
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: