Transactional NTFS

Transactional NTFS (abbreviated TxF[1]) is a component introduced in Windows Vista and present in later versions of the Microsoft Windows operating system that brings the concept of atomic transactions to the NTFS file system, allowing Windows application developers to write file-output routines that are guaranteed to either succeed completely or to fail completely.[2] Transactional NTFS is also known informally as NTFS 6.0, because it was introduced with Windows Vista, which has internal Windows version designation NT 6.0.

Major operating system components, including System Restore, Task Scheduler, and Windows Update, rely on TxF for stability.[1]

Due to its complexity and various nuances which developers need to consider as part of application development, Microsoft has considered deprecating TxF application programming interfaces (APIs) in a future version of Windows. Microsoft has strongly recommended that developers investigate using the alternatives rather than adopting the Transactional NTFS API platform which may not be available in future versions of Windows.[2]

Overview

Transactional NTFS allows for files and directories to be created, modified, renamed, and deleted atomically. Using transactions ensures correctness of operation; in a series of file operations (done as a transaction), the operation will be committed if all the operations succeed. In case of any failure, the entire operation will rollback and fail.

Transactional NTFS is implemented on top of the Kernel Transaction Manager, which is a Windows kernel component introduced in Windows Vista that provides transactioning of objects in the kernel.[1] The NTFS file system already supports journaling of low-level operations, such as writing a block of data. Transactional NTFS expands on this capability to include:

With the exception of read operations, using Transactional NTFS for transactions on Encrypting File System files is not supported in Windows Vista until Service Pack 1 and Windows Server 2008.[3]

See also

References

  1. 1 2 3 Olson, Jason (2007). "Enhance Your Apps With File System Transactions". MSDN Magazine. Microsoft. Archived from the original on August 30, 2008. Retrieved June 30, 2015.
  2. 1 2 Microsoft. "Alternatives to using Transactional NTFS". MSDN. Retrieved June 30, 2015.
  3. Microsoft. "When to Use Transactional NTFS (Windows)". MSDN. Archived from the original on September 17, 2008. Retrieved June 30, 2015.

External links

This article is issued from Wikipedia - version of the 9/7/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.