Patent ID: 8046548

Claim:
A method for maintaining mirrored data consistency between a primary networked storage node and a secondary networked storage node using write-intent logging, the method comprising: receiving an input/output (I/O) request at the primary networked storage node, wherein receiving the I/O request at the primary networked storage node comprises: checking a counter associated with an area of the disk targeted by the I/O request; checking the log entry associated with the area; placing the I/O request into a wait queue if the counter is zero and the log entry is not set; placing the I/O request into a hold queue if the counter is zero and the log entry is set; and processing the wait queue and the hold queue; logging the I/O request to a log at the primary networked storage node; storing the log to a disk associated with the primary networked storage node; executing the I/O request at the primary networked storage node; relaying the I/O request to the secondary networked storage node for execution; waiting for completion of both executing the I/O request at the primary networked storage node, and execution of the I/O request to the secondary networked storage node; clearing the log after waiting; and acknowledging completion of the I/O request after clearing the log.