JBD2_JOURNAL_START_R(9) | The Linux Journalling API | JBD2_JOURNAL_START_R(9) |
NAME¶
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_t * handle
unsigned int type
unsigned int line_no
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@computer-surgery.co.uk>
Stephen Tweedie <sct@redhat.com>
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |