Trim token journaling
Abstract
Systems and methods are disclosed for trim token journaling. A device can monitor the order in which trim commands and write commands are applied to an indirection system stored in a volatile memory of the device. In some embodiments, the device can directly write to a page of an NVM with a trim token that indicates that a LBA range stored in the page has been trimmed. In other embodiments, a device can add pending trim commands to a trim buffer stored in the volatile memory. Then, when the trim buffer reaches a pre-determined threshold or a particular trigger is detected, trim tokens associated with all of the trim commands stored in the trim buffer can be written to the NVM. Using these approaches, the same sequence of events that was applied to the indirection system during run-time can be applied during device boot-up.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 12.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system comprising: a file system; a non-volatile memory (“NVM”); volatile memory comprising a trim buffer; a bus controller operative to communicate with the NVM; and control circuitry operative to: receive a trim command from the file system; insert the trim command into the trim buffer; determine whether the trim buffer is full; and in response to determining that the trim buffer is full, write trim tokens associated with all trim commands stored in the trim buffer to the NVM, wherein the trim buffer comprises at least one of a count of the number of all trim commands stored in the trim bu
- Claim 2Depends on #1
The system of claim 1 , wherein in response to determining that the trim buffer is not full, the control circuitry i
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (1)
- U.S. Appl. No. 13/235,019, filed Sep. 15, 2011.