File system defragmentation technique to reallocate data blocks if such reallocation results in improved layout
Abstract
A defragmentation technique determines the extent to which data blocks of a file are fragmented on disks of a computer and, in response, efficiently relocates those blocks if such relocation improves the on-disk layout of the file. Each indirect block of the file is examined and the current layout of the range of pointers referencing the data blocks is determined. In addition, the number of operations needed to retrieve those data blocks from disks is calculated. A potential new layout is then estimated based on an average fullness of the file system. If the potential new layout improves the fragmentation of the current layout, then the data blocks for that range are relocated, if there is sufficient free space on disk. Otherwise, the blocks are not relocated and the current on-disk layout of the file is maintained.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for defragmenting data blocks on storage devices of a computer configured to implement a file system that logically organizes the blocks as a file on the storage devices, comprising: determining a current layout of selected data blocks on the storage devices; determining a fragmentation of the current layout, the fragmentation calculated as an approximate number of operations necessary to retrieve the selected data blocks; estimating a fragmentation of a potential new layout of the data blocks on the storage devices, wherein the potential new layout is estimated based on an average fu
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (32)
Non-Patent Literature (5)
- Administration Guide found at http://www.openafs.org/pages/doc/AdminGuide/auagd010.htm, visited on Mar. 2, 2005.
- Basilico, et al., Error Correction System Using "Shadow Memory," IBM Technical Disclosure Bulletin, May 1984, pp. 5792-5793.
- Bitton, Dina, Disk Shadowing, Proceedings of the 14th VLDB Conference, LA, CA (1988).
- Blasgen, M.W. et al., System R:An architectural Overview,Reprinted from IBM Systems Journal vol. 20, No. 1, 1981(C) 1981, 1999.
- Borenstein, Nathaniel S., CMU's Andrew project a retrospective, Communications of ACM, (39)12, Dec. 1996.