发明名称 Error detection for files
摘要 Aspects of the subject matter described herein relate to error detection for files. In aspects, before allowing updates to a clean file, a flag marking the file as dirty is written to non-volatile storage. Thereafter, the file may be updated as long as desired. Periodically or at some other time, the file may be marked as clean after all outstanding updates to the file and error codes associated with the file are written to storage. While waiting for outstanding updates and error codes to be written to storage, if additional requests to update the file are received, the file may be marked as dirty again prior to allowing the additional requests to update the file. The request to write a clean flag regarding the file may be done lazily.
申请公布号 US8793440(B2) 申请公布日期 2014.07.29
申请号 US201012817219 申请日期 2010.06.17
申请人 Microsoft Corporation 发明人 Miller Thomas J.;Cargille Jonathan M.;Tipton William R.;Verma Surendra
分类号 G06F12/08;G06F11/00;G06F11/07;G06F17/30 主分类号 G06F12/08
代理机构 代理人 Jardine John;Sanders Andrew;Minhas Micky
主权项 1. A method performed by a computer, the method comprising: receiving a request to update a file; refraining from updating the file until after a dirty flag for the file has been written to non-volatile storage; setting a dirty flag to indicate the file is potentially dirty; sending a request to write the dirty flag to the non-volatile storage; receiving an indication that the dirty flag has been written to the non-volatile storage; and after receiving the indication, updating, by the computer, the file in accordance with the request to update the file.
地址 Redmond WA US