Cooperative physical defragmentation by a file system and a storage device
AssigneeToshiba Memory Corporation
InventorDaisuke Hashimoto
Life of this patent
Estimating the term…
Abstract
A storage system includes a host including a processor and a storage device including a controller and a flash memory unit. The host is configured to read physically fragmented data of a file stored in one or more physical storage regions of the flash memory unit and write the data continuously into other one or more physical regions of the flash memory unit, such that the data are physically defragmented.
Claims20
A host device connectable to a storage device that comprises a nonvolatile semiconductor memory including a plurality of physical blocks, the host device comprising:
- an interface configured to communicate with the storage device;
- and
- a processor configured to
- determine logical addresses corresponding to a target file that is to undergo a physical defragmentation operation,
- issue through the interface a read command that includes the logical addresses to the storage device, and
- issue through the interface a write command that includes the logical addresses and write data associated with the write command, wherein data received from the storage device in response to the read command is issued as the write data associated with the write command, to cause the storage device to store the write data in one or more physical blocks of the plurality of physical blocks, so that the data associated with the logical addresses of the file are physically defragmented within the storage device.
A method performed by a host device connectable to a storage device that comprises a nonvolatile semiconductor memory including a plurality of physical blocks, the method comprising:
- determining logical addresses corresponding to a target file that is to undergo a physical defragmentation operation;
- issuing a read command that includes the logical addresses to the storage device;
- and
- issuing a write command that includes the logical addresses and write data associated with the write command, wherein data received from the storage device in response to the read command is issued as the write data associated with the write command, to cause the storage device to store the write data in one or more physical blocks of the plurality of physical blocks, so that the data associated with the logical addresses of the file are physically defragmented within the storage device.
Dependencies are inferred from the claim text.