I was looking at the source code for the implementation of journaling in ext3 and I came across the types handle_t
, transaction_t
and journal_t
.
handle_t
represents a single atomic update being performed by a process. transaction_t
represents a compound set of atomic updates and journal_t
maintains all journaling information for a single filesystem.
I have the following doubts:-
- How are a set of disk interactions grouped into various transactions?
- An example of a handle and a transaction, please.