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()
411 * The caller should provide a fresh transaction and roll it after we're done.
486 * Caller wants a fresh transaction; put the work item in xfs_defer_finish_one()
489 * Transaction while Finishing Deferred Work" above. in xfs_defer_finish_one()
515 * any work items that wandered in since the last transaction roll (if
516 * one has even happened), rolling the transaction, and finishing the
519 * If an inode is provided, relog it to the new transaction.
589 * Finish and roll the transaction once more to avoid returning to the in xfs_defer_finish()
590 * caller with a dirty transaction. in xfs_defer_finish()
662 * Move deferred ops from one transaction to another and reset the source to
664 * transaction rolls with pending dfops.
676 * transaction rolls. Transfer low mode on a dfops move to preserve in xfs_defer_move()
693 * transaction is then ready for the caller to commit it. If there are no
719 /* Move the dfops chain and transaction state to the capture struct. */ in xfs_defer_ops_capture()
744 * transaction. in xfs_defer_ops_capture()
777 * Capture any deferred ops and commit the transaction. This is the last step
793 /* If we don't capture anything, commit transaction and exit. */ in xfs_defer_ops_capture_and_commit()
802 /* Commit the transaction and add the capture structure to the list. */ in xfs_defer_ops_capture_and_commit()
814 * Attach a chain of captured deferred ops to a new transaction and free the
816 * caller with ILOCK_EXCL held and joined to the transaction with lockflags==0.
830 /* Lock the captured resources to the new transaction. */ in xfs_defer_ops_continue()
840 /* Join the captured resources to the new transaction. */ in xfs_defer_ops_continue()
845 /* Move captured dfops chain and state to the transaction. */ in xfs_defer_ops_continue()