jbd2_journal_set_triggers (9) - Linux Manuals

jbd2_journal_set_triggers: Add triggers for commit writeout

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 [at] computer-surgery.co.uk>

Author.

Stephen Tweedie <sct [at] redhat.com>

Author.

COPYRIGHT