Lines Matching defs:commit
52 * | The btrfs_commit_transaction() caller will do the commit work.
54 * | Other btrfs_commit_transaction() caller will do the commit work.
62 * | Caller is chosen to commit transaction N, and all other trans handle
133 * because the transaction was aborted and a commit did not
187 * at the same time we swap out the commit roots.
193 * commit root
199 * new commit root
305 * current transaction, and commit it. If there is no transaction, just
312 * JOIN_NOLOCK only happens during the transaction commit, so
345 * commit the transaction.
472 /* Make sure we don't try to update the root at commit time */
511 /* wait for commit against the current transaction to become unblocked
660 * have raced in and did an fsync() on a file which can kick a commit
664 * transaction and commit it, so we needn't do sb_start_intwrite().
795 * It is used when we want to commit the current the transaction, but
836 /* wait for a transaction commit to be fully complete */
837 static noinline void wait_for_commit(struct btrfs_transaction *commit)
839 wait_event(commit->commit_wait, commit->state == TRANS_STATE_COMPLETED);
1039 * wait for it to finish - we don't want to commit a
1067 * those extents are on disk for transaction or log commit. We wait
1085 * left in the io tree. For a log commit, we don't remove them
1087 * concurrently - we do it only at transaction commit time when
1149 * log commit.
1419 * Will do all needed qgroup inherit and dirty hack like switch commit
1449 * We are going to commit transaction, see btrfs_commit_transaction()
1468 * Now we do a simplified commit transaction, which will:
1469 * 1) commit all subvolume and extent tree
1475 * In this simplified commit, we don't really care about other trees
1504 * transaction commit. This does the actual creation.
1845 * wait for the current transaction commit to start and block subsequent
1870 * commit transactions asynchronously. once btrfs_commit_transaction_async
1923 * async commit thread will be the one to unlock it.
2088 * Some places just start a transaction to commit it. We need to make
2089 * sure that if this commit fails that the abort code actually marks the
2095 /* Stop the commit early if ->aborted is set */
2139 * will wait for the transaction to commit if it
2242 * commit the transaction. We could have started a join before setting
2258 * extents around in the middle of the commit
2304 * At this point in the commit, there can't be any tree-log
2460 btrfs_warn(fs_info, "Skipping commit of aborted transaction.");
2532 btrfs_debug(fs_info, "pending commit done");