Method and system for realizing atomic writing
A technology of atomic write and write request, applied in information storage, static memory, digital memory information, etc., to achieve the effect of improving competitiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027]The present invention proposes a method and system for realizing atomic writing, such as figure 1 A flow chart of an atomic write method is given. In step S1, the front-end implements the locking of lba involved in the atomic write request in the form of a binary tree. If the locking is successful, the atomic write request is sent to the FTL layer. Otherwise, it means that the lba involved in this atomic write request overlaps with the write request already sent to FTL, and the current atomic write request cannot be sent to the FTL layer, and the atomic write request is placed in the pending queue, and the pending write request After the completion, the atomic write request is re-initiated to the FTL layer; after the atomic write request is processed, the front end unlocks the involved lba.
[0028] In step S2, after receiving the atomic write request, the FTL layer records the lba range involved in the atomic write request, and uses 4K as a unit to allocate the write bu...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

