Lines Matching refs:transaction

569 	// TODO: this logic won't work whenever the size of the pending transaction
638 all blocks of a transaction have been flushed to disk.
648 PRINT(("Log entry %p has been finished, transaction ID = %" B_PRId32 "\n",
701 // The current transaction seems to be idle - flush it. (We can't do this
702 // in this thread, as flushing the log can produce new transaction events.)
722 /*! Writes the blocks that are part of current transaction into the log,
723 and ends the current transaction.
724 If the current transaction is too large to fit into the log, it will
725 try to detach an existing sub-transaction.
736 // The current transaction won't fit into the log anymore, try to
737 // detach the current sub-transaction
742 // We created a transaction larger than one we can write back to
745 dprintf("transaction too large (%d blocks, log size %d)!\n",
776 // nothing has changed during this transaction
790 // transaction
896 // at this point, we can finally end the transaction - we're in
910 // If the transaction is too large after writing, there is no way to
911 // recover, so let this transaction fail.
912 dprintf("transaction too large (%d blocks, log size %d)!\n",
938 // whoa, FlushLogAndBlocks() was called from inside a transaction
977 // we'll just use the current transaction again
989 // TODO: we need a way to find out how big the current transaction is;
990 // we need to be able to either detach the latest sub transaction on
992 // sub transaction itself grows bigger than the log.
994 // cache transaction API...
998 // start a sub transaction
1020 // we only end the transaction if we would really unlock it
1061 // take the number of array blocks in this transaction into account
1074 // We can continue to use the parent transaction afterwards
1088 // for this transaction
1114 kprintf(" max transaction size: %" B_PRIu32 "\n", fMaxTransactionSize);
1118 kprintf(" transaction ID: %" B_PRId32 "\n", fTransactionID);
1217 /*! Move the inodes into the parent transaction. This is needed only to make
1218 sure they will still be reverted in case the transaction is aborted.
1221 Transaction::MoveListenersTo(Transaction* transaction)
1224 transaction->fListeners.Add(listener);