Version management system using plural control fields for synchronizing two versions of files in a multiprocessor system
Abstract
In a data processing system that stores a first and second version of a given data set, a method for synchronizing the first and second versions comprises steps of maintaining a sync-complete control field and a sync-in-progress control field in the inode of each of the first and second versions. Write accesses to the versions are modified so that the sync-complete control field and the sync-in-progress control field are cleared in response to any change in the associated version. The sync-complete control bits for the first and second versions are tested, and if either or both are cleared, then the sync-in-progress control field associated with a select source version is set. Next, a copy of the source version is transferred to a temporary file. After the transfer is complete, the sync-in-progress control field in the source version is tested, and if it is set when the temporary version is complete, then the sync-complete control field is set and the sync-in-progress control field is cleared in the source versions. Next, the sync-complete control field is set in the temporary version. Finally, the temporary version is renamed to the other of the first and second versions and the o
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 382.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a data processing system storing a first and a second version of a given data set, a method for synchronizing the first and second versions, comprising: maintaining a sync-complete control field and a sync-in-progress control field corresponding to each of the first and second versions, the sync-complete control field indicating when set that the corresponding version is synchronized and the sync-in-progress control field indicating when set that the corresponding version is in the process of being synchronized; clearing the sync-complete control field and the sync-in-progress control fie
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗