JBD2_JOURNAL_SET_TRI(9)

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

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@computer-surgery.co.uk>
    Author.

Stephen Tweedie <sct@redhat.com>
    Author.

COPYRIGHT