.transactioncommit Method

Function:

Commits a disk transaction.

Syntax:

fd.transactioncommit() as pl_fd_status_codes

Returns:

One of the following pl_fd_status_codes, also affects fd.laststatus:

0 — PL_FD_STATUS_OK: Completed successfully.

1 — PL_FD_STATUS_FAIL : Physical flash memory failure (fatal).

8 — PL_FD_STATUS_NOT_READY: The disk is not mounted.

13 — PL_FD_STATUS_TRANSACTION_NOT_YET_STARTED: Disk transaction hasn't been started yet.

15 — PL_FD_STATUS_TRANSACTIONS_NOT_SUPPORTED: The disk wasn't formatted to support transactions (use fd.formatj with maxjournalsectors > 1 to enable transactions).

See Also:

Using Disk Transactions, fd.transactionstart, fd.transactionstarted, fd.transactioncapacityremaining