jbd2__journal_restart (9) - Linux Man Pages
jbd2__journal_restart: restart a handle .
jbd2__journal_restart - restart a handle .
*handle, int nblocks, gfp_t gfp_mask);
- handle to restart
- nr credits requested
- -- undescribed --
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.
Roger Gammans <rgammans [at] computer-surgery.co.uk>
Stephen Tweedie <sct [at] redhat.com>