×

Hierarchical mapping of free blocks of cylinder groups of file systems built on slices of storage and linking of the free blocks

  • US 8,407,265 B1
  • Filed: 11/19/2010
  • Issued: 03/26/2013
  • Est. Priority Date: 11/19/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of operating a file server, the file server including data storage and a data processor, the data storage storing a logical volume and a file system built on the logical volume, the file system including multiple cylinder groups, each of the cylinder groups including file system blocks, the file system blocks including allocated blocks and free blocks of the data storage, the logical volume including slices of the data storage, and each slice of the data storage storing at least one of the cylinder groups, the method comprising the data processor executing computer instructions stored on a non-transitory computer-readable storage medium to perform the steps of:

  • (a) maintaining, in the file server, a hierarchical map of the free blocks of the data storage in the file system, the hierarchical map having an upper level including a summary of the free blocks of the data storage in groups of the slices, the hierarchical map having at least one intermediate level including a summary of the free blocks of the data storage in sub-groups of the slices, and the hierarchical map having a bottom level including a summary of the free blocks of the data storage in each of the slices of the data storage; and

    (b) searching the hierarchical map in a top-down fashion to find a cylinder group of the file system including a free block of the data storage in the file system; and

    (c) linking the free block of the data storage from the cylinder group found in step (b) to a file.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×