Extending filesystem domains with a domain membership condition
AssigneeDell Products L.P.
InventorsBarry Naujok, Jonathan Walton, Chris Stacey, Mayank Rajawat
Life of this patent
Estimating the term…
Abstract
The described technology is generally directed an extension to the IFS domains architecture, referred to herein as filter domains. IFS domains allows tagging of files in a tree-like dataset. Thus, a domain can be defined at the root of the dataset such as the topmost directory under which all files reside. These domains are inherently hierarchical, path-based entities. Filter domains extends this organization to allow domains to be applied beyond hierarchical tree structures in order to also provide arbitrary grouping of file objects based on any suitable membership condition.
Claims20
A system, comprising:
- a processor;
- and
- a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, comprising:
- in response to a filesystem request to create a domain, wherein the domain represents a defined portion of a filesystem namespace, creating a domain identifier within the filesystem that, via a metadata tag, indicates whether a file object is a member of the domain based on a first membership condition that is a function of a path of a file object;
- in response to a first determination that filter clause data exists, wherein the filter clause data specifies a second membership condition, different than the first membership condition, representing a prerequisite to be satisfied before applying the metadata tag to the file object, updating the metadata tag with the second membership condition, and wherein the second membership condition comprises a file age condition that is satisfied based on a first comparison of a file age of the file object to a defined threshold age indicated by the file age condition and at least one of a file size condition that is satisfied based on a second comparison of a file size of the file object to a defined threshold size indicated by the file size condition or a file name condition that is satisfied based on a third comparison of a file name of the file object to a defined name string indicated by the file name condition, resulting in the prerequisite being satisfied as a function of the first comparison and the metadata tag being updated with the defined threshold age and a second portion of the second membership condition being satisfied as a function of:
- the second comparison and the metadata tag being updated with the defined threshold size, or the third comparison and the metadata tag being updated with the defined name string;
- and
- in response to a second determination that the file object satisfies both the first membership condition, which is a function of the path of the file object, and the second membership condition specified by the filter clause data, applying the metadata tag to the file object to indicate that the file object is a member of the domain.
A non-transitory computer-readable medium comprising instructions that, in response to execution, cause a system comprising a processor to perform operations, comprising:
- receiving a filesystem request to create a domain, wherein the domain is indicative of a filesystem namespace partition;
- generating a domain identifier, representative of the domain, within a filesystem, the domain identifier comprising a metadata tag that indicates whether a file object is a member of the domain based on a first membership condition that depends on a path of the file object;
- in response to a first determination that filter clause data exists, wherein the filter clause data specifies a second membership condition, different than the first membership condition, that is to be satisfied before applying the metadata tag to the file object, updating the metadata tag with the second membership condition that is to be satisfied for domain membership, and wherein the second membership condition comprises a file age condition that is satisfied based on a first comparison of a file age of the file object to a defined threshold age indicated by the file age condition and at least one of a file size condition that is satisfied based on a second comparison of a file size of the file object to a defined threshold size indicated by the file size condition or a file name condition that is satisfied based on a third comparison of a file name of the file object to a defined name string indicated by the file name condition, resulting in a first portion of the second membership condition being satisfied as a function of the first comparison and the metadata tag being updated with the defined threshold age and a second portion of the second membership condition being satisfied as a function of:
- the second comparison and the metadata tag being updated with the defined threshold size, or the third comparison and the metadata tag being updated with the defined name string;
- and
- in response to a second determination that the file object satisfies both the first membership condition that depends on the path of the file object and the second membership condition that depends on the filter clause data, applying the metadata tag to the file object to indicate that the file object is a member of the domain in response to the file object satisfying the first membership condition and satisfying the second membership condition.
A method, comprising:
- receiving, by a device comprising a processor, a filesystem request to create a domain, wherein the domain represents a portion of a filesystem namespace;
- generating, by the device, a domain identifier within a filesystem framework that, via a metadata tag, specifies whether a file object is a member of the domain based on a first membership condition that is a function of a path of a file object;
- in response to filter clause data that specifies a second membership condition that differs from the first membership condition, updating, by the device, the metadata tag with the second membership condition, wherein the second membership condition represents a condition, other than the path of the file object, to be satisfied before applying the domain identifier to the file object, and wherein the second membership condition comprises a file age condition that is satisfied based on a first comparison of a file age of the file object to a defined threshold age indicated by the file age condition and at least one of a file size condition that is satisfied based on a second comparison of a file size of the file object to a defined threshold size indicated by the file size condition or a file name condition that is satisfied based on a third comparison of a file name of the file object to a defined name string indicated by the file name condition, resulting in a first portion of the second membership condition being satisfied as a function of the first comparison and the metadata tag being updated with the defined threshold age and a second portion of the second membership condition being satisfied as a function of:
- the second comparison and the metadata tag being updated with the defined threshold size, or the third comparison and the metadata tag being updated with the defined name string;
- and
- setting, by the device, the metadata tag to indicate that the file object is a member of the domain in response to the file object satisfying the first membership condition according to the path of the file object and satisfying the second membership condition specified by the filter clause data.
Dependencies are inferred from the claim text.