A question about function jbd2__journal_restart()
Hi all,
I have a question about function jbd2__journal_restart().
If we call this function when there's not more credits,
it may commit the handle's transaction and start another one. So a handle can be attached to 2 transaction and can not ensure the consistency. It is the caller's responsibility to keep things consistently before call jbd2__journal_restart(), right?
Thanks very much.
Hello,
Quoted 6 lines · Xue jiufei
I have a question about function
jbd2__journal_restart().
If we call this function when there's not more credits,
it may commit the handle's transaction and start another one. So a handle can be attached to 2 transaction and can not ensure the consistency. It is the caller's responsibility to keep things consistently before calljbd2__journal_restart(), right?
Correct.
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR