Patent ID: 9665587
Date: 2017-05-30
CPC Classifications: G06F

Claim:
1. A method, comprising: using a processor to compute a locality measure with respect to a group of segments comprising a portion of a file; and using the processor to determine a dynamically determined fragmentation repair criteria; using the processor to compare the computed locality measure to the dynamically determined fragmentation repair criteria; and using the processor to perform fragmentation repair with respect to the group of segments based at least in part on a result of said comparison of the computed locality measure to the dynamically determined fragmentation repair criteria, wherein to compare the computed locality measure to the dynamically determined fragmentation repair criteria includes comparing the computed locality measure to at least a static repair threshold and a dynamic repair threshold and making a decision to repair the group based at least on a determination that the computed locality measure is equal to or greater than the static repair threshold and equal to or greater than the dynamic repair threshold, wherein the dynamic repair threshold is the greater of the static repair threshold and a running average value of the locality measure of the portion of the file that includes groups from the beginning of the file through the current group.