Memory system configured to perform segment cleaning and related method of operation
AssigneeSamsung Electronics Co., Ltd.
InventorsJae-Geuk Kim, Chang-Man Lee, Chul Lee, Joo-Young Hwang
Life of this patent
Estimating the term…
Abstract
A host configured to interact with a storage device includes a write-back (WB) cache configured to write data to the storage device, a cache managing module configured to manage the WB cache, and a file system module configured to determine whether live blocks in victim segments among a plurality of segments stored in the storage device are stored in the WB cache, to read the live blocks from the storage device as a consequence of determining that the live blocks are not stored in the WB cache, to load the read live blocks to the WB cache, and to request the cache managing module to set dirty flags for the stored live blocks.
Claims20
A host configured to interact with a storage device, the host comprising:
- a write-back (WB) cache configured to write data to the storage device;
- a cache managing module configured to manage the WB cache;
- and
- a file system module configured to determine during a segment cleaning operation whether live blocks in victim segments among a plurality of segments stored in the storage device are stored in the WB cache, to read the live blocks from the storage device as a consequence of determining that the live blocks are not stored in the WB cache, to load the read live blocks to the WB cache, and to request the cache managing module to set dirty flags for the stored live blocks.
A segment cleaning method, comprising:
- determining at the start of segment cleaning whether live blocks in victim segments among a plurality of segments stored in a storage device are stored in a write-back (WB) cache of a host;
- as a consequence of determining that the live blocks are not stored in the WB cache, reading the live blocks from the storage device and storing the read live blocks to the WB cache;
- and
- requesting a module to manage the WB cache to set dirty flags for the stored live blocks in the WB cache.
A segment cleaning method, comprising:
- by operation of a log-structured file system:
- determining at the start of segment cleaning whether live blocks in victim segments among a plurality of segments in a storage device are stored in a write-back (WB) cache of a host;
- selectively reading the live blocks from the storage device and storing the read live blocks in the WB cache based on whether the live blocks are stored in the WB cache;
- and
- setting dirty flags for read live blocks that are stored in the WB cache responsive to said selectively reading.
Dependencies are inferred from the claim text.