SysTutorials

Linux Manual Pages › Section 9

jbd2_journal_start_reserved(9)

jbd2_journal_start_reserved – start reserved handle

Synopsis

int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, unsigned int line_no);

Arguments

handle

handle to start

type

— undescribed —

line_no

— undescribed —

Description

Start handle that has been previously reserved with jbd2_journal_reserve. This attaches handle to the running transaction (or creates one if there’s not transaction running). Unlike jbd2_journal_start this function cannot block on journal commit, checkpointing, or similar stuff. It can block on memory allocation or frozen journal though.

Return 0 on success, non-zero on error – handle is freed in that case.

Authors

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

Author.

Stephen Tweedie <sct [at] redhat.com>

Author.

Copyright