Name

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

struct buffer_head * bh

buffer to trigger on

struct jbd2_buffer_trigger_type * 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.