On Thu, Aug 22, 2019 at 03:24:59PM +0800, Qu Wenruo wrote: > Just a overview of the basic btrfs transaction lifespan, including the > following states: > - No transaction states > - Transaction N [[TRANS_STATE_RUNNING]] > - Transaction N [[TRANS_STATE_COMMIT_START]] > - Transaction N [[TRANS_STATE_COMMIT_DOING]] > - Transaction N [[TRANS_STATE_UNBLOCKED]] > - Transaction N [[TRANS_STATE_COMPLETED]] > > For each states, the comment will include: > - Basic explaination about current state > - How to go next stage > - What will happen if we call variant start_transaction() functions > - Relationship to transaction N+1 > > This doesn't provide much tech details, but just a cheat sheet for > reader to get into the code a little easier. > > Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> Great, thanks. Reviewed-by: David Sterba <dsterba@xxxxxxxx>
