'\" t .\" Title: jbd2_journal_lock_updates .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: The Linux Journalling API .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "JBD2_JOURNAL_LOCK_UP" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "The Linux Journalling API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" jbd2_journal_lock_updates \- establish a transaction barrier\&. .SH "SYNOPSIS" .HP \w'void\ jbd2_journal_lock_updates('u .BI "void jbd2_journal_lock_updates(journal_t\ *\ " "journal" ");" .SH "ARGUMENTS" .PP \fIjournal_t * journal\fR .RS 4 Journal to establish a barrier on\&. .RE .SH "DESCRIPTION" .PP 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\&. .PP The journal lock should not be held on entry\&. .SH "AUTHORS" .PP \fBRoger Gammans\fR <\&rgammans@computer-surgery.co.uk\&> .RS 4 Author. .RE .PP \fBStephen Tweedie\fR <\&sct@redhat.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br