SysTutorials

Linux Manual Pages › Section 9

jbd2_journal_lock_updates(9)

jbd2_journal_lock_updates – establish a transaction barrier.

Synopsis

void jbd2_journal_lock_updates(journal_t *journal);

Arguments

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 [at] computer-surgery.co.uk>

Author.

Stephen Tweedie <sct [at] redhat.com>

Author.

Copyright