Error detection for files
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 34 · Forward citations: 7.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
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.
- Claim 2Depends on #1
The method of claim 1 , further comprising: determining that error codes and data associated with outstanding requests to update the file are to be written to the non-volatile storage; in a data structure, holding an indication of one or more incoming requests, if a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (34)
Non-Patent Literature (5)
- "Can Not Write to File in Java", Retrieved at << https://www.linuxquestions.org/questions/programming-9/can-not-write-file-java-388809/ >>, Retrieved Date: Mar. 29, 2010, pp. 5.
- "Can Not Write to File in Java", Retrieved at >, Retrieved Date: Mar. 29, 2010, pp. 5.
- "Error detection and correction", Retrieved at http://en.wikipedia.org/wiki/Error-detection-and-correction >>, Retrieved Date: May 6, 2010, pp. 9.
- "International Search Report", Mailed Date: Dec. 7, 2011, Application No. PCT/US2011/039071, Filed Date: Jun. 3, 2011, pp. 9.
- "Lecture 19: Transactions: Reliability from Unreliable Components", Retrieved at << http://www.edugrid.ac.in/webfolder/OpSystems/9-FileSystems/Uni-Washington/transactions(I19).pdf >>, Retrieved Date: Mar. 29, 2010, pp. 8.