Patent US5043876A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5043876A Expired / Lapsed US ⏱️ 0.0 years remaining

N-level file shadowing and recovery in a shared file system

Assignee: International Business Machines Corp
•
Filing: 1988-05-27
•
Granted: 1991-08-27
•
Expires: 2008-05-27
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A shared file environment permits multiple users to read a file that is being updated concurrently. The process maintains N level shadows for a file to allow multiple users to read a file even though that file may be updated by one or more updaters in succession. A reader of a file does not need to wait on an updater of the file nor does the reader see any updates as they are being made. Each reader that opens the file sees the latest committed level of the file; that is, if reader A opens the file for read before updater B commits his changes, then there will exist one level shadow for the file after B commits. The process maintains N level shadows for a file, although only one updater of a file is allowed at a time. A new construct, referred to as the Not Available Yet (NAY) structure, contains entries for all files that are currently open for read. The NAY structure has an entry for each level of a file that is open for read. A counter associated with the entry indicates the number of readers of that level of the file. These entries are anchors for a list of block numbers of shadow blocks that cannot be unallocated because there is at least one reader of that level. A logging procedure allocates and unallocates blocks to track the N-level shadow blocks.

Inventors

  • 👤 Charles R. Terry

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-27 12:43
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/10; G06F16/17; G06F16/176; G06F16/1767; Y; Y10; Y10S; Y10S707/00; Y10S707/99951; Y10S707/99952

Claims Analysis

Total Claims: 3
Claim 1
Independent Claim 254 words
In a data processing system supporting a shared file environment in which multiple users may read a file stored in the system concurrently while the file is being updated, the method of N-level file shadowing comprising the steps of: making an entry in a data structure indicating a current level of a file when the file is opened for read by one of said users, said step of making an entry in a data structure generating a record of all readers of any level of the file; allocating a data block for the current level of the file for reading when the current level of the file is first opened for read by one of said users, an allocated data block for reading the file being referred to as a "shadow" block; determining from said data structure whether there are any readers of a prior level of the file and, if there are such readers, chaining shadow blocks for each prior level to maintain N levels of the file in shadow blocks; allocating a data block to contain updates to the file by an updater when a file is opened for write by the updater; performing checkpoints of a current status of the shared file environment and recording said checkpoints in a checkpoint log, said checkpoints serving as snapshots of the system; restarting the data processing system after a shutdown by accessing the checkpoint log and performing recovery processing so that the system appears as it did after a last checkpoint before the shutdown.
Claim 2
Dependent Claim 254 words
In a data processing system supporting a shared file environment in which multiple users may read a file stored in the system concurrently while the file is being updated, the method of N-level file shadowing comprising the steps of: making an entry in a data structure indicating a current level of a file when the file is opened for read by one of said users, said step of making an entry in a data structure generating a record of all readers of any level of the file; allocating a data block for the current level of the file for reading when the current level of the file is first opened for read by one of said users, an allocated data block for reading the file being referred to as a "shadow" block; determining from said data structure whether there are any readers of a prior level of the file and, if there are such readers, chaining shadow blocks for each prior level to maintain N levels of the file in shadow blocks; allocating a data block to contain updates to the file by an updater when a file is opened for write by the updater; performing checkpoints of a current status of the shared file environment and recording said checkpoints in a checkpoint log, said checkpoints serving as snapshots of the system; restarting the data processing system after a shutdown by accessing the checkpoint log and performing recovery processing so that the system appears as it did after a last checkpoint before the shutdown.
Claim 3
Dependent Claim 31 words
The method of claim 1, further comprising the steps of: logging said allocation of said data block; committing updates by said updater; and then logging said allocation of said shadow blocks.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1994-08-26 1995-02-25 1995-08-27 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1998-08-26 1999-02-25 1999-08-27 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2002-08-26 2003-02-25 2003-08-27 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag