A method for storing data includes writing the data to a temporary storage
location and buffering a mirror request to copy the data from the
temporary storage location to a mirror. Once all the data is present, the
validity of the data is determined. If the data is valid, the mirror
request is executed. Otherwise, the mirror request is deleted.