×

Systems and methods for reading objects in a file system

  • US 7,966,289 B2
  • Filed: 08/21/2007
  • Issued: 06/21/2011
  • Est. Priority Date: 08/21/2007
  • Status: Active Grant
First Claim
Patent Images

1. A computer system for transferring a portion of a file system to a memory, the system comprising:

  • a file system stored on at least one storage device;

    one or more computer processors;

    a memory coupled to the storage device;

    a target stream;

    a data structure representing files in the file system;

    a prefetch module configured to, when executed by the one or more computer processors;

    traverse data related to a portion of the file system;

    determine whether to represent a file in the data structure based at least in part on a size of the file;

    a cumulative size of files currently represented in the data structure, wherein the cumulative size of the files represented in the a data structure comprises approximate cumulative space on the at least one storage device that is associated with the files, and a cumulative number of files currently represented in the data structure,wherein the prefetch module determines not to represent the file in the data structure if to do so would cause the cumulative size of files to exceed a first threshold or would cause the cumulative number of files to exceed a second threshold,wherein the first threshold and the second threshold are dynamically adjustable based on one or more of CPU usage, memory usage, transfer speed of a communication medium, and transfer speed of the at least one device; and

    if the determination is to add a representation of the file to the data structure, add the representation of the file, prefetch at least a portion of the file, and add the prefetched portion to the memory; and

    a working module configured to, when executed by the one or more computer processors, transfer at least portions of files represented in the data structure from the memory to the target stream.

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