.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "JOURNAL_RESTART" "" "06 October 2005" "" ""
.SH NAME
journal_restart \- restart a handle .
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int journal_restart (handle_t * \fIhandle\fB, int \fInblocks\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhandle\fB\fR
handle to restart
.TP
\fB\fInblocks\fB\fR
nr credits requested
.SH "DESCRIPTION"
.PP
Restart a handle for a multi-transaction filesystem
operation.
.PP
If the \fBjournal_extend\fR call above fails to grant new buffer credits
to a running handle, a call to journal_restart will commit the
handle's transaction so far and reattach the handle to a new
transaction capabable of guaranteeing the requested number of
credits.