Patent ID: 8078639

Claim:
A computer-readable storage medium having stored computer-executable instructions which when executed by a processor of a computer perform a method for notifying file system filters of transaction events, the method comprising: a filter, which is loaded into memory of the computer, registering with a filter manager to receive file system operations of a file system that supports transactions, the file system operations including open, create, write, and close operations; the filter manager receiving a first file system operation comprising an open operation that opens a file as part of a transaction; the filter manager passing an object related to the first file system operation to the filter, the object specifying that the first file system operation comprises an open operation that has opened the file as part of a transaction, wherein the transaction comprises a plurality of operations having the properties of being atomic, consistent, isolated, and durable; the filter enlisting with the filter manager to receive notification of subsequent transaction events involving the file by calling an interface of the filter manager and providing information that indicates transaction events involving the file for which the filter is to be notified, wherein the subsequent transaction events comprise commit, rollback, prepare to commit, pre-prepare to commit, save point create, and save point rollback; upon receiving a subsequent transaction event comprising a rollback event that involves the file that is involved in the transaction, the filter manager notifying the filter of the subsequent transaction event; and in response to receiving notification of the subsequent transaction event, the filter performing an action.