Lines Matching full:transaction
37 * we can roll the transaction to adhere to AG locking order rules and
48 * roll a transaction to facilitate this, but using this facility
60 * start, we define "rolling a deferred-op transaction" as follows:
69 * > Roll the transaction.
71 * NOTE: To avoid exceeding the transaction reservation, we limit the
77 * - Roll the deferred-op transaction as above.
84 * wants a new transaction. See the "Requesting a Fresh
85 * Transaction while Finishing Deferred Work" section below for
89 * work items every time we roll the transaction, and that we must log
94 * Requesting a Fresh Transaction while Finishing Deferred Work
96 * If ->finish_item decides that it needs a fresh transaction to
100 * to be at risk of exceeding the transaction reservation.
102 * To get a fresh transaction, we want to log the existing log done
105 * transaction, and re-call ->finish_item wherever it left off. The
107 * transaction or atomicity cannot be guaranteed; defer_finish ensures
111 * defer_finish. Upon deciding to request a new transaction,
118 * transaction and picks up processing where it left off. It is
120 * transaction reservation to fit the new log intent item.
272 * transaction commits. Caller is responsible for zero-initializing @dres.
324 /* Attach the held resources to the transaction. */
345 /* Roll a transaction so we can do some deferred op processing. */
360 * Roll the transaction. Rolling always given a new transaction (even in xfs_defer_trans_roll()
362 * join the held resources to the new transaction so that we always in xfs_defer_trans_roll()
410 * The caller should provide a fresh transaction and roll it after we're done.
484 * Caller wants a fresh transaction; put the work item in xfs_defer_finish_one()
487 * Transaction while Finishing Deferred Work" above. in xfs_defer_finish_one()
513 * any work items that wandered in since the last transaction roll (if
514 * one has even happened), rolling the transaction, and finishing the
517 * If an inode is provided, relog it to the new transaction.
587 * Finish and roll the transaction once more to avoid returning to the in xfs_defer_finish()
588 * caller with a dirty transaction. in xfs_defer_finish()
660 * Move deferred ops from one transaction to another and reset the source to
662 * transaction rolls with pending dfops.
674 * transaction rolls. Transfer low mode on a dfops move to preserve in xfs_defer_move()
691 * transaction is then ready for the caller to commit it. If there are no
717 /* Move the dfops chain and transaction state to the capture struct. */ in xfs_defer_ops_capture()
742 * transaction. in xfs_defer_ops_capture()
775 * Capture any deferred ops and commit the transaction. This is the last step
791 /* If we don't capture anything, commit transaction and exit. */ in xfs_defer_ops_capture_and_commit()
800 /* Commit the transaction and add the capture structure to the list. */ in xfs_defer_ops_capture_and_commit()
812 * Attach a chain of captured deferred ops to a new transaction and free the
814 * caller with ILOCK_EXCL held and joined to the transaction with lockflags==0.
828 /* Lock the captured resources to the new transaction. */ in xfs_defer_ops_continue()
838 /* Join the captured resources to the new transaction. */ in xfs_defer_ops_continue()
843 /* Move captured dfops chain and state to the transaction. */ in xfs_defer_ops_continue()