Method of handling trim command in flash memory and related memory controller and storage system thereof
AssigneeSilicon Motion, Inc.
InventorTzu-Yi Yang
Life of this patent
Estimating the term…
Abstract
A method of handling trim commands in a flash memory is provided. The method comprises: receiving a trim command; modifying logical-to-physical (L2P) address mapping entries of a L2P address mapping table according to the trim command; and storing trim information of the trim command into one of data blocks of the flash memory after modifying the L2P address mapping entries according to the trim command.
Claims17
A method of handling trim commands in a flash memory, comprising:
- receiving a trim command;
- modifying logical-to-physical (L2P) address mapping entries of a L2P address mapping table according to the trim command;
- and
- storing trim information of the trim command into one of data blocks of the flash memory after modifying the L2P address mapping entries according to the trim command.
A memory controller for use in a flash memory to control the flash memory and handle trim commands in the flash memory, comprising:
- a storage unit, arranged to store information and program codes;
- a processing unit, operable to execute the program codes to be arranged to:
- receive a trim command;
- modify logical-to-physical (L2P) address mapping entries of a L2P address mapping table according to the trim command;
- and
- store trim information of the trim command into one of data blocks of the flash memory after modifying the L2P address mapping entries according to the trim command.
A storage system, comprising:
- a flash memory;
- and
- a memory controller for use in a flash memory to control the flash memory and handle trim commands in the flash memory, the memory controller arranged to:
- receive a trim command;
- modify logical-to-physical (L2P) address mapping entries of a L2P address mapping table according to the trim command;
- and
- store trim information of the trim command into one of data blocks of the flash memory after modifying the L2P address mapping entries according to the trim command.
Dependencies are inferred from the claim text.