主权项 |
1. A method comprising:
in a data storage device including a controller and a memory, performing:
receiving a request to write data to a location in the memory corresponding to a logical address;generating a signature of the data;searching a signature table in a controller memory of the controller to determine if the generated signature matches a particular signature in the signature table, wherein the particular signature is associated with a physical address of stored data; andwriting information to an entry in a logical mapping table responsive to determining that the generated signature matches the particular signature in the signature table, wherein the information points to a signature table entry, in the signature table, that includes the particular signature,wherein the logical mapping table includes a logical address field and a mapping field, wherein the mapping field of the entry of the logical mapping table includes the information that points to the signature table entry, and wherein the mapping field of a second entry of the logical mapping table includes second information that points to a second physical address. |