File system level compression using holes
Abstract
A method, apparatus, and computer-usable medium for compressing data in a file system utilizing the concept of "holes". A mapping table in a file system maps the logical blocks of a file to actual physical blocks on disk where the data is stored. Blocks may be arranged in units of a cluster, and the file may be compressed cluster-by-cluster. Holes are used within a cluster to indicate not only that a cluster has been compressed, but also the compression algorithm used. Different clusters within a file may be compressed with different compression algorithms. A unit of data is compressed, with the result that the file occupies fewer physical blocks than it has logical blocks. The mapping table is updated to indicate that for a given unit of data compressed, fewer physical blocks are needed. Certain logical blocks belonging to this unit of data are not mapped to physical blocks but are mapped to a hole. A hole indicates that the unit of data was compressed, and may also indicate the particular compression algorithm used to compress the unit of data. If a unit of data begins or ends within the middle of a cluster, to avoid overwriting the data not to be changed the whole cluste
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 205.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of storing data in a file system having a mapping table arranged to map logical memory blocks to physical memory blocks, the method comprising the steps of: requesting that a segment of data be written to physical memory, the segment of data being associated with selected logical memory blocks; compressing the segment of data into compressed data such that the compressed data occupies fewer blocks of memory than the segment of data; writing the compressed data to physical memory, the compressed data being written to at least one physical memory block; and up
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 205 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- Michael Burrows, et al., On Line Data Compression in a Log structured File System, 1992, DEC Systems Research Center, pp. 2 9.
- Michael Burrows, et al., On-Line Data Compression in a Log-structured File System, 1992, DEC Systems Research Center, pp. 2-9.