Atomic renaming and moving of data files while permitting lock-free look-ups
Abstract
Atomic renaming and moving of data files, while permitting lock-free look-ups to the data files, is disclosed. A temporary record may be created within a hash chain encompassing a record for a data file and corresponding to a location of the data file within a computer file system. The temporary record is linked within the hash chain so that the temporary record points to the same records to which the record for the data file points. The record for the data file is renamed with a new name, and/or moved to a new location within the computer file system, and the temporary record is removed from the hash chain. Before the temporary record is removed, look-ups of the data file resolve to the temporary record, the temporary record causing the look-ups to wait until the record for the data file has been renamed and/or moved and the temporary record removed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 22.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: renaming a data file of a computer system while permitting lock-free look-ups to the data file by utilizing a temporary record to which look-ups to the data file resolve while the data file is being renamed; looking up the data file in a lock free-manner while the data file is being atomically renamed, by, while traversing records of a containing construct of a record for the data file to locate the record for the data file: where a number of the records of the containing construct traversed so far exceeds a predetermined maximum number of records, rev
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 22 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- Hanna Linder et al., Scalability of the directory entry cache, 2002 Ottawa Linux Symposium.
- Maurice Herlihy, A methodology for implementing highly concurrent data objects, Nov. 1993 ACM Transactions on Programming Languages and Systems.
- Paul E. McKenney et al., Read-copy update, Jul. 2001, Ottawa Linux Symposium Proceedings.
- Paul E. McKenney et al., Read-copy update: Using Execution History to Solve Concurrency Problems, Oct. 1998, International Conference on Parallel and Distributed Computing and Systems Proceedings.
- Paul McKenney et al., Read-copy update, 2002 Ottawa Linux Symposium.