Zone-based defragmentation methods and user devices using the same
AssigneeSamsung Electronics Co., Ltd.
InventorsHyunchul Park, Sangmok Kim
Life of this patent
Estimating the term…
Abstract
A defragmentation method of a user device which includes a host and a nonvolatile storage device includes: determining whether fragments of a first file stored at the nonvolatile storage device are in a same logical address zone; and executing defragmentation on the fragments of the first file if the fragments of the first file are in different logical address zones by moving the fragments of the first file to a logical address space corresponding to at least one of the different logical address zones.
Claims20
A defragmentation method for a user device including a host and a nonvolatile storage device, the method comprising:
- determining whether fragments of a first file stored at the nonvolatile storage device are in a same logical address zone;
- determining, if the fragments of the first file are in different logical address zones, that usable space is available in at least one of the different logical address zones;
- and
- executing defragmentation of the fragments of the first file if the fragments of the first file are in the different logical address zones by moving the fragments of the first file to a logical address space corresponding to the at least one of the different logical address zones.
A user device, comprising:
- a host including a defragmentation program;
- and
- a memory controller configured to control a storage medium in response to a request from the host;
- wherein a logical address space managed by the host is divided into a plurality of logical address zones, each of the plurality of logical address zones including logical addresses associated with physical addresses of the storage medium;
- and
- wherein the host is configured to skip defragmentation of a fragmented file stored at a same logical address zone and to perform logical defragmentation of a fragmented file stored at different logical address zones.
A file defragmentation method for a user device including a host and a nonvolatile storage medium, the method comprising:
- selectively defragmenting, by the host, a fragmented file stored in the nonvolatile storage medium based on whether fragments of the fragmented file are associated with a same logical address zone in a logical address space corresponding to a physical address space of the nonvolatile storage medium, the logical address space including a plurality of logical address zones, and each of the plurality of logical address zones including a plurality of continuous logical addresses.
Dependencies are inferred from the claim text.