CPC G06F 12/0246 (2013.01) [G06F 12/0292 (2013.01); G06F 13/1668 (2013.01)] | 20 Claims |
1. A method for data access in response to a host discard command, performed by a processing unit, comprising:
allocating space in a random access memory (RAM) for an expanded discard table, wherein the expanded discard table comprises a plurality of entries and each entry records one logical address of discarded user data;
receiving a first host discard command from a host side, wherein the first host discard command indicates first logical addresses of user data that is no longer used;
appending first new entries each comprising one first logical address to the expanded discard table; and
setting a start-address register and/or an end-address register in a performance engine for redefining an address range in the RAM that stores the expanded discard table, thereby enabling the performance engine to search the expanded discard table in the address range in the RAM for determining whether a specific logical address of user data is no longer used.
|