Re: [PATCH v3] Updated locking documentation for transaction_t

From: Theodore Ts'o
Date: Fri Apr 02 2021 - 11:41:01 EST


On Thu, Feb 11, 2021 at 06:14:10PM +0100, Alexander Lochmann wrote:
> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Horst Schirmeier <horst.schirmeier@xxxxxxxxxxxxxx>
> Reviewed-by: Jan Kara <jack@xxxxxxx>

Thanks, applied. I reflowed the comments before applying the patch.

- Ted