Save data to disk after commit