Method and apparatus for disc drive defragmentation
First Claim
Patent Images
1. A method of storing data to a disc drive, comprising:
- determining the data storing size of one or more free contiguous physical block addresses;
determining the data size of a least one or more fragmented files;
if the data storing size of at least one contiguous physical block addresses is at least as large as the data size of at least one of the fragmented files;
then writing at least one of the fragmented files to the contiguous physical block address; and
wherein the total data size of the one or more fragmented files does not exceed the contiguous physical block address data storing size.
7 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the invention include a method and apparatus to defragment data on a disc drive storage system by optimizing the available physical block address on a media into one or more contiguous physical block addresses then storing the fragmented data into the one or more contiguous block address. In one aspect, the disc drive uses a reserved area on the media to hold fragmented files during the defragmentation process. In another aspect, sectors of the media having faster access time are used to store defragmented files that have a higher incidence of access relative to other files on the media.
-
Citations
20 Claims
-
1. A method of storing data to a disc drive, comprising:
-
determining the data storing size of one or more free contiguous physical block addresses;
determining the data size of a least one or more fragmented files;
if the data storing size of at least one contiguous physical block addresses is at least as large as the data size of at least one of the fragmented files;
thenwriting at least one of the fragmented files to the contiguous physical block address; and
wherein the total data size of the one or more fragmented files does not exceed the contiguous physical block address data storing size. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of storing data to a disc drive, comprising:
-
combining at least two available physical block addresses into at least one contiguous physical block address;
locating at least one fragmented file to the at least one contiguous physical block addresses wherein the data storing size of the contiguous physical block address is at least as large as the at least one fragmented file;
combining the fragmented file to form at least one contiguous file; and
writing the at least one contiguous file to the at least one contiguous physical block address to form at least one contiguous defragmented file. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A disc drive system comprising:
-
a signal-bearing media means for storing data;
a code memory means coupled to a read/write controller means for controlling the reading and writing of data to the signal-bearing media, means for reading and writing the data to the signal-bearing media;
a processor means coupled to the code memory and the read/write controller for defragmenting the data on the signal-bearing media means. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification