journal_extend(9) centos man page | unix.com

Man Page: journal_extend

Operating Environment: centos

Section: 9

JOURNAL_EXTEND(9)					     The Linux Journalling API						 JOURNAL_EXTEND(9)

NAME
journal_extend - extend buffer credits.
SYNOPSIS
int journal_extend(handle_t * handle, int nblocks);
ARGUMENTS
handle handle to 'extend' nblocks nr blocks to try to extend by.
DESCRIPTION
Some transactions, such as large extends and truncates, can be done atomically all at once or in several stages. The operation requests a credit for a number of buffer modications in advance, but can extend its credit if it needs more. journal_extend tries to give the running handle more buffer credits. It does not guarantee that allocation - this is a best-effort only. The calling process MUST be able to deal cleanly with a failure to extend here. Return 0 on success, non-zero on failure. return code < 0 implies an error return code > 0 implies normal transaction-full status.
AUTHORS
Roger Gammans <rgammans@computer-surgery.co.uk> Author. Stephen Tweedie <sct@redhat.com> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 JOURNAL_EXTEND(9)
Related Man Pages
journal_abort(9) - suse
journal_abort(9) - centos
struct_journal_s(9) - centos
journal_try_to_free_buffers(9) - suse
kgdb_arch_handle_exception(9) - suse
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Docker learning Phase-I
Controlling user input