Patent ID: 6941419

Claim:
A method of buffer segment management on a disc drive, comprising: wherein, for a read operation; determining if one or more buffer segments comprise the data for a read command; wherein, if the data is available then processing the data; wherein, if the data is not available then: determining if a current disc operation time is greater than or equal to one or more read time limits to transfer the data from a media to the one or more read buffer segments; if the disc operation time is greater than the one or more read time limits then aborting the read command; if the disc operation time is less than or equal to the one or more read time limits then reading the data; wherein, for a write operation; determining if the data storing size of one or more of the current write buffer segments is sufficient to store the data for a write command; If the data storing size is sufficient to store the data then transferring the data; If the data storing size is not sufficient to store the data then; determining the data sizes of one or more write buffer segments minimizing the number of seek operations within one or more write time limits; wherein, if transferring the data from the one or more write buffer segments is within the one or more write time limits then transferring the data; and wherein, if transferring the data from the one or more write buffer segments is not within the one or more write time limits then aborting the write command.