1. A method of performing a data transaction between an upper layer and a storage layer, the method comprising: marking a data unit in the upper layer as invalid; inserting an update data into the data unit; transferring the update data to the storage layer; validating the update data; performing a store transaction if the update data is validated; and performing a rollback transaction if the update data is not validated.