1JOURNAL_LOCK_UPDATES(9) The Linux Journalling API JOURNAL_LOCK_UPDATES(9)
2
3
4
6 journal_lock_updates - establish a transaction barrier.
7
9 void journal_lock_updates(journal_t * journal);
10
12 journal
13 Journal to establish a barrier on.
14
16 This locks out any further updates from being started, and blocks until
17 all existing updates have completed, returning only once the journal is
18 in a quiescent state with no updates running.
19
20 The journal lock should not be held on entry.
21
23 Roger Gammans <rgammans@computer-surgery.co.uk>
24 Author.
25
26 Stephen Tweedie <sct@redhat.com>
27 Author.
28
30Kernel Hackers Manual 2.6. November 2011 JOURNAL_LOCK_UPDATES(9)