×

Time-based data partitioning

  • US 10,664,453 B1
  • Filed: 02/28/2017
  • Issued: 05/26/2020
  • Est. Priority Date: 03/31/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for managing a file system, the method comprising:

  • providing a plurality of file system (FS) partitions of an FS of a storage system, wherein each of the FS partitions is associated with a specific time period, including a first FS partition corresponding to a first time period and a second FS partition corresponding to a second time period;

    in response to a request from a client for storing a file to the storage system, examining a time attribute of the file to determine that the time attribute of the file is associated with the first time period;

    storing the file in the first FS partition, such that files having similar time attributes are stored in an identical FS partition, wherein the first FS partition includes first FS metadata having name and directory information for accessing a first set of files, each having a time attribute associated with the first time period, wherein the second FS partition includes second FS metadata having name and directory information for accessing a second set of files, each having a time attribute associated with the second time period, and wherein the content of the first set of files and the first FS metadata of the first FS partition can be independently loaded in a memory of the storage system for accessing the first set of files of the first FS partition, without having to load the content of the second set of files and the second FS metadata of the second FS partition in the memory to reduce a memory usage requirement;

    determining that the second FS partition does not have a pending input/output (IO) request pending for accessing files stored in the second FS partition;

    unloading the second FS metadata of the second FS partition from a system memory of the storage system;

    loading the first FS metadata of the first FS partition into the system memory for accessing files stored in the first FS partition;

    assigning a token having an initial value to the first FS partition when the first FS partition is being loaded; and

    decrementing the token associated with the first FS partition in response to a completion of each IO request accessing data stored in the first FS partition.

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