Multi-threaded write interface and methods for increasing the single file read and write throughput of a file server
Abstract
A write interface in a file server provides permission management for concurrent access to data blocks of a file, ensures correct use and update of indirect blocks in a tree of the file, preallocates file blocks when the file is extended, solves access conflicts for concurrent reads and writes to the same block, and permits the use of pipelined processors. For example, a write operation includes obtaining a per file allocation mutex (mutually exclusive lock), preallocating a metadata block, releasing the allocation mutex, issuing an asynchronous write request for writing to the file, waiting for the asynchronous write request to complete, obtaining the allocation mutex, committing the preallocated metadata block, and releasing the allocation mutex. Since no locks are held during the writing of data to the on-disk storage and this data write takes the majority of the time, the method enhances concurrency while maintaining data integrity.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 42 · Forward citations: 34.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of operating a network file server computer for providing clients with concurrent write access to a file in data storage, the method comprising the network file server computer responding to a concurrent write request from a client by: (a) obtaining a lock for the file; and then (b) preallocating a metadata block for the file; and then (c) releasing the lock for the file; and then (d) asynchronously writing to the file; and then (e) obtaining the lock for the file; and then (f) committing the metadata block to the file in the data storage; and then (g) releasing the lock for the file.
- Claim 2Depends on #1
The method as claimed in claim 1 , wherein the file further includes a hierarchy of blocks including an inode block of metadata, data blocks of file data, and indirect blocks of metadata, and wherein the metadata block for
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 34 total)
References Cited — Backward Prior Art (42)
Non-Patent Literature (5)
- "Building Cutting-Edge Server Applications; Intel® Xeon(TM) Processor Family Features the Intel NetBurst(TM) Microarchitecture with Hyper-Threading Technology;" 2002, Intel Corporation, pp. 1-9.
- "Building Cutting-Edge Server Applications; Intel® Xeon™ Processor Family Features the Intel NetBurst™ Microarchitecture with Hyper-Threading Technology;" 2002, Intel Corporation, pp. 1-9.
- "Celerra File Server Architecture for High Availability," EMC Corporation, Hopkinton, Mass., Aug. 1999, 7 pages.
- "Celerra File Server in the E-Infostructure," EMC Corporation, Hopkinton, Mass., 2000, 9 pages.
- "Intel® Pentium® 4 and Intel® Xeon(TM) Processor Optimization" Reference Manual, 2002, Intel Corporation, U.S.A., pp. i to xxv, 1-1 to 1-27, 2-1 to 2-75, 7-1 to 7-33.