21-08-2014 дата публикации
Номер: US20140237164A1
A hybrid drive controller maintains a deferred trim list that holds a subset of logical addresses of writes performed on magnetic disks. For example, if a write command is issued to an LBA space that overlaps a portion stored in flash memory and the write is to be performed on the magnetic disks, the trimming of the overlapping portion in the flash memory will be deferred. Instead of trimming, the logical addresses associated with the overlapping portion will be added to the deferred trim list and trimming of the logical addresses in the deferred trim list will be carried out at a later time, asynchronous to the write that caused them to be added to the list. 1. A method of writing data in a data storage device having a magnetic storage medium divided into addressable blocks and a non-volatile solid-state device divided into addressable blocks , said method comprising:receiving a command to write data;determining that the non-volatile solid-state device has a valid block with a logical address referenced by the command;writing the data to a block of the magnetic storage medium, which has the same logical address as the valid block of the non-volatile solid-state device; andafter said writing, invalidating the valid block of the non-volatile solid-state device.2. The method of claim 1 , wherein the command references a plurality of logical addresses claim 1 , one of which is the logical address of the valid block.3. The method of claim 2 , wherein said determining claim 2 , said writing claim 2 , and said invalidating after said writing are carried out for all valid blocks of the non-volatile solid-state device that have a logical address referenced by the command.4. The method of claim 1 , further comprising:adding the logical address to a list of logical addresses of blocks of the non-volatile solid-state device to be invalidated; andprocessing the list to invalidate the blocks of the non-volatile solid-state device.5. The method of claim 4 , wherein the logical ...
Подробнее