Query: journal_extend
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
JOURNAL_EXTEND(9) The Linux Journalling API JOURNAL_EXTEND(9)NAMEjournal_extend - extend buffer credits.SYNOPSISint journal_extend(handle_t * handle, int nblocks);ARGUMENTShandle handle to 'extend' nblocks nr blocks to try to extend by.DESCRIPTIONSome 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.AUTHORSRoger Gammans <rgammans@computer-surgery.co.uk> Author. Stephen Tweedie <sct@redhat.com> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 JOURNAL_EXTEND(9)