×

System and method for managing filesystem objects

  • US 9,317,511 B2
  • Filed: 06/19/2012
  • Issued: 04/19/2016
  • Est. Priority Date: 06/19/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for managing filesystem objects of a filesystem, the method comprising:

  • receiving a request for creating a new file;

    obtaining, in response to the receiving of the request for creating the new file, a direct parent object key that identifies a direct parent directory requested for hosting said new file;

    locating within a plurality of global directory object (GDO) pages of a GDO a target page by looking up the GDO with said direct parent object key, wherein said target page comprises a direct parent directory metadata record that is (i) associated with the direct parent object key and (ii) comprises metadata parameters related to the direct parent directory;

    wherein the filesystem objects are (i) selected from files and directories, (ii) located in a non-transitory storage media, (iii) arranged in a hierarchical directory structure, and (iv) associated with a plurality of metadata records;

    wherein the plurality of metadata records are included in the GDO;

    creating an object key for identifying the new file in the filesystem and for looking up the new file in the GDO, wherein said object key is created as having a value that corresponds to a lexicographical order of object keys associated with metadata records of the plurality of metadata records that are included in the target page, thereby enabling accommodation of an object metadata record on said target page, said object metadata record associated with the object key for identifying the new file and configured to comprise metadata parameters related to the new file;

    wherein the plurality of metadata records are ordered within the GDO by values of object keys identifying the filesystem objects;

    in response to receiving a request for creating a new sub-directory under the direct parent directory, creating an object directory identifier, such that the object directory identifier is lexicographically subsequent to a direct parent directory identifier of the direct parent directory,wherein one of the following is true;

    (i) the object directory identifier comprises the direct parent directory identifier as a most significant part, appended by an uniquifier index; and

    (ii) the object directory identifier is selected from a predefined pool of consecutive identifiers, said predefined pool being associated with the target page; and

    creating a filename value by applying a formula on an object name comprised in said request for creating the new file, wherein the object key comprises a direct parent directory identifier uniquely identifying the direct parent directory, as a most significant part of the object key and a respective filename value as a least significant part of the object key.

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