SysTutorials

Linux Manual Pages › Section 9

jbd2_journal_set_triggers(9)

jbd2_journal_set_triggers – Add triggers for commit writeout

Synopsis

void jbd2_journal_set_triggers(struct buffer_head *bh, struct jbd2_buffer_trigger_type *type);

Arguments

bh

buffer to trigger on

type

struct jbd2_buffer_trigger_type containing the trigger(s).

Description

Set any triggers on this journal_head. This is always safe, because triggers for a committing buffer will be saved off, and triggers for a running transaction will match the buffer in that transaction.

Call with NULL to clear the triggers.

Authors

Roger Gammans <rgammans [at] computer-surgery.co.uk>

Author.

Stephen Tweedie <sct [at] redhat.com>

Author.

Copyright