Commit 50a4952f authored by Alexander Lochmann's avatar Alexander Lochmann Committed by Theodore Ts'o

Updated locking documentation for transaction_t

We used LockDoc to derive locking rules for each member
of struct transaction_t.
Based on those results, we extended the existing documentation
by more members of struct transaction_t, and updated the existing
documentation.

Link: https://lore.kernel.org/r/10cfbef1-994c-c604-f8a6-b1042fcc622f@tu-dortmund.deSigned-off-by: default avatarAlexander Lochmann <alexander.lochmann@tu-dortmund.de>
Signed-off-by: default avatarHorst Schirmeier <horst.schirmeier@tu-dortmund.de>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 418baf2c
......@@ -538,6 +538,7 @@ struct transaction_chp_stats_s {
* The transaction keeps track of all of the buffers modified by a
* running transaction, and all of the buffers committed but not yet
* flushed to home for finished transactions.
* (Locking Documentation improved by LockDoc)
*/
/*
......@@ -658,12 +659,12 @@ struct transaction_s
unsigned long t_start;
/*
* When commit was requested
* When commit was requested [j_state_lock]
*/
unsigned long t_requested;
/*
* Checkpointing stats [j_checkpoint_sem]
* Checkpointing stats [j_list_lock]
*/
struct transaction_chp_stats_s t_chp_stats;
......
Markdown is supported
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