carta
jbd2__journal_restart(9)

jbd2__journal_restart9

Restart a handle .

Arguments

handle

handle to restart

nblocks

nr credits requested

gfp_mask

memory allocation flags (for start_this_handle)

Overview

Restart a handle for a multi-transaction filesystem operation.

If the jbd2_journal_extend call above fails to grant new buffer credits to a running handle, a call to jbd2_journal_restart will commit the handle's transaction so far and reattach the handle to a new transaction capable of guaranteeing the requested number of credits. We preserve reserved handle if there's any attached to the passed in handle.

Authors

Roger Gammans <[email protected]>

Author.

Stephen Tweedie <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.