other versions
JBD2_JOURNAL_LOCK_UP(9) | The Linux Journalling API | JBD2_JOURNAL_LOCK_UP(9) |
NAME¶
jbd2_journal_lock_updates - establish a transaction barrier.
SYNOPSIS¶
void jbd2_journal_lock_updates(journal_t * journal);
ARGUMENTS¶
journal_t * journal
Journal to establish a barrier on.
DESCRIPTION¶
This locks out any further updates from being started, and blocks until all existing updates have completed, returning only once the journal is in a quiescent state with no updates running.
The journal lock should not be held on entry.
AUTHORS¶
Roger Gammans <rgammans@computer-surgery.co.uk>
Author.
Stephen Tweedie <sct@redhat.com>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |