Lines Matching full:commit

161  * %-EAGAIN if commit is required, and a negative error code in case of
205 dbg_log("bud bytes %lld (%lld max), require commit", in ubifs_add_bud_to_log()
213 * If the journal is full enough - start background commit. Note, it is in ubifs_add_bud_to_log()
219 dbg_log("bud bytes %lld (%lld max), initiate BG commit", in ubifs_add_bud_to_log()
331 * If the commit does not finish, the recovery will need in remove_buds()
334 * commit i.e. do not allow them to be garbage in remove_buds()
344 * ubifs_log_start_commit - start commit.
348 * The commit operation starts with writing "commit start" node to the log and
350 * the commit has been finished. The commit start and reference nodes are
351 * written in one go to the nearest empty log LEB (hence, when commit is
386 * Note, we do not lock 'c->log_mutex' because this is the commit start in ubifs_log_start_commit()
433 dbg_log("writing commit start at LEB %d:0, len %d", c->lhead_lnum, len); in ubifs_log_start_commit()
446 * We have started the commit and now users may use the rest of the log in ubifs_log_start_commit()
457 * ubifs_log_end_commit - end commit.
461 * This function is called on when the commit operation was finished. It
472 * writes during commit. Its only short "commit" start phase when in ubifs_log_end_commit()
482 * The commit is finished and from now on it must be guaranteed that in ubifs_log_end_commit()
483 * there is always enough space for the next commit. in ubifs_log_end_commit()
503 * ubifs_log_post_commit - things to do after commit is completed.
507 * Release buds only after commit is completed, because they must be unchanged
510 * Unmap log LEBs only after commit is completed, because they may be needed for
637 * needed for commit. This function rewrites the reference nodes in the log