File System for Anonymous Write Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing file systems face challenges in managing operations with anonymous write storage devices, where the location of a write request is unknown until completion, leading to complexities in supporting conventional file operations like read, write, and delete, especially in SSDs that suffer from write amplification and reduced lifespan due to garbage collection processes.
Innovation Solution
A file system is configured to interact with anonymous write storage devices by providing mechanisms to manage and track operations such as read, write, and delete, using metadata to record offsets and handle serial writes, thereby reducing the need for indirection and optimizing storage operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If conventional file systems are used with SSDs, then file operations can be performed, but write amplification occurs and SSD lifespan is reduced due to garbage collection
Solution Approach 1:
The patent segments the storage system into two distinct parts: an anonymous write device that handles sequential writes without indirection, and a separate metadata storage that tracks file locations. This segmentation allows the write device to operate efficiently without garbage collection, while metadata management handles file operations independently.
Solution Approach 2:
The patent introduces metadata as an intermediary layer between the file system and the anonymous write device. The metadata stores the mapping between file names and physical locations, allowing the system to support conventional file operations without requiring the storage device to perform complex garbage collection processes.
2Loss of substance
If anonymous write semantics are implemented, then write amplification is reduced, but supporting conventional file operations becomes complex
Solution Approach 1:
The patent extracts the complexity of file location tracking from the anonymous write device and places it in a separate metadata storage system. The anonymous write device only needs to handle sequential writes and return offsets, while the file system manages the complexity of mapping offsets to file names and handling delete operations through metadata updates.
3Adaptability or versatility
If indirection is used in storage devices, then file operations are flexible, but device complexity increases
Solution Approach 1:
The patent moves the indirection layer from the storage device to a separate metadata system. The anonymous write device performs simple sequential writes without indirection, while the metadata storage and file system provide the flexible mapping between logical file names and physical locations, achieving both simplicity and flexibility.
Data Source
AI summary
A file system is implemented in a system comprising an anonymous-write storage device. A request for a file system operation that comprises semantics of the file system to receiving the request is received. The file system translates the file system operation to one or more commands that effect the file system operation while maintaining consistency with operation of the anonymous-write storage device. The one or more commands comprise one or more of updating file system metadata, sending a request to the anonymous-write storage device, or receiving a response from the anonymous-write storage device. The anonymous-write storage device is configured to write data in an append-only format and determine locations of data write operations agnostic of input of a write location from the file system. Metadata is updated to indicate results of the file system operation.


