×

System and method for managing trim operations in a flash memory system using mapping tables and block status tables

  • US 9,323,667 B2
  • Filed: 04/10/2013
  • Issued: 04/26/2016
  • Est. Priority Date: 04/12/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of managing a flash memory comprising:

  • providing a controller configured to;

    maintain a first table mapping between a user logical address and a physical address where data is stored in the flash memory;

    maintain a second table indicating a status for each physical address of a block of physical addresses;

    maintain a third table representing a user initiated data invalidation operation of the user logical address;

    wherein the controller is further operative for;

    accepting a user initiated data invalidation command for the user logical address; and

    updating the first, the second, and the third tables to show the status of an invalid logical and physical data address as invalid;

    receiving a read request from a user and;

    using an entry in the third table to determine if the user logical address corresponds to an entry in the second table that is valid or invalid; and

    if the entry in the third table is invalid, return a value determined by a protocol;

    or,if the entry in the third table is valid;



    using the first table to retrieve datacorresponding to the read request from the physical address;

    receiving a write request from a user and;

    using the entry in the third table to determine if the user logical address corresponds to an entry in the second table that is valid or invalid; and

    if the entry in the third table is valid, writing data corresponding to the user logical address of the write request to a physical address allocated by the second table;

    orif the entry in the third table corresponding to the user logical address of the write request is invalid, updating the entry in the third table to valid; and



    writing data corresponding to the user logical address of the write request to a physical address allocated using the second table.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×