Memory system and operating method thereof for flushing data in data cache with parity
AssigneeSK hynix Inc.
InventorMin Kyung Choi
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure relate to a memory system and an operating method thereof. A memory system may include a memory device and a memory controller configured to, when receiving from the host a flush command instructing to flush data cached in a data cache to the memory device, flush first data cached in the data cache, the first data having a size smaller than a size of the reference write unit, to the memory device, write a first parity associated with the first data to a parity memory block, update a value of a parity location pointer indicating a location where the first parity is written, and set a parity write flag indicating whether the parity at the location pointed by the parity location pointer is valid.
Claims20
A memory system comprising:
- a memory device including a plurality of memory blocks;
- and
- a memory controller for communicating with the memory device and controlling the memory device;
- wherein the memory controller is configured to, when receiving a flush command from a host instructing the memory device to flush data cached in a data cache to the memory device:
- flush first data cached in the data cache to the memory device, the first data having a size smaller than a size of a reference write unit which is a reference for writing data to the memory device together with a parity, and
- write a first parity associated with the first data to a parity memory block configured to store parities for data blocks each having a size smaller than the size of the reference write unit among the plurality of memory blocks.
A method of operating a memory system including a memory device having a plurality of memory blocks, the method comprising:
- receiving, by a memory controller, a flush command from a host instructing the memory device to flush data cached in a data cache to the memory device,
- flushing first data cached in the data cache to the memory device, the first data having a size smaller than a size of a reference write unit which is a reference for writing data to the memory device together with a parity, and
- writing a first parity associated with the first data to a parity memory block configured to store parities for data blocks each having a size smaller than a size of the reference write unit among the plurality of memory blocks.
A memory system comprising:
- a memory device including a plurality of memory blocks;
- and
- a memory controller for communicating with the memory device and controlling the memory device,
- wherein the memory controller is configured to:
- receive a flush command from a host instructing the memory device to flush data cached in a data cache to the memory device;
- write first data cached in the data cache to a location of the memory device;
- write second data successively to the location where the first data has been written;
- calculate a first parity associated with the first data;
- determine a value of a parity location pointer indicating a location where the first parity has been written;
- and
- set a parity write flag.
Dependencies are inferred from the claim text.