Cache for identifiers representing merged access control information
Abstract
The system described herein introduces a cache that a file system uses to determine, for a current object, if the process to merge different types of access control information into merged access control information has already been performed for a previous object. Stated alternatively, the file system uses the cache to determine whether a current object being processed for storage has the same combination of access control information as a previous object that has already been processed for storage. If the current object has the same combination of access control information as the previous object, the file system is able to associate merged access control information for the previous object with the current object via the use of a pointer. Consequently, the file system avoids having to perform the resource-intensive process of merging the different types of access control information for the current object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A system comprising: a processing system; a file system; and computer-readable storage media storing instructions that, when executed, cause the file system to perform operations comprising: receiving, from an application, a request to store an object in a directory, wherein the object is associated with a first identifier representing first access control information and a second identifier representing second access control information; creating, for the object, a first merged identifier based on the first identifier and the second identifier; determining that an entry in a cache includes a second merged identifier that matches the first merged identifier; in response to determining that the entry in the cache includes the second merged identifier, associating the object with merged access control information in the entry in the cache using a pointer, wherein: the merged access control information is based on the first access control information and the second access control information; and the merged access control information is associated with another object; and storing the object in the directory with the pointer.
- Claim 2Depends on #1
The system of claim 1, wherein the first access control information is derived from a token associated with a user of the application from which the request is received.
- Claim 3Depends on #1
The system of claim 1, wherein the second access control information is inherited from the directory in which the object is stored.
- Claim 4Depends on #1
The system of claim 1, wherein creating the first merged identifier comprises: providing the first identifier and second identifier as inputs to a hash algorithm; and receiving the first merged identifier as an output from the hash algorithm.
- Claim 5Depends on #4
The system of claim 4, wherein the inputs include an indicator that the object is a directory and not a file.
- Claim 6Depends on #1
The system of claim 1, wherein: the object is associated with a third identifier representing third access control information; the merged access control information is created by merging the first access control information, the second access control information, and the third access control information; and the first merged identifier is created based on the first identifier, the second identifier, and the third identifier.
- Claim 7Depends on #6
The system of claim 6, wherein the third access control information is defined by a user of the application from which the request is received.
- Claim 8Depends on #1
The system of claim 1, wherein the operations further comprise: receiving, from the application, a prior request to store the other object in the directory, wherein the other object is associated with the first identifier representing the first access control information and the second identifier representing the second access control information; creating, for the other object, the second merged identifier based on the first identifier and the second identifier; determining that entries in the cache do not include the second merged identifier; in response to determining that the entries in the cache do not include the second merged identifier: creating the merged access control information for the other object by merging the first access control information and the second access control information; adding the second merged identifier and the merged access control information to the entry in the cache; and storing the other object in the directory with another pointer that associates the other object with the merged access control information in the entry in the cache.
- Claim 9Depends on #1
The system of claim 1, wherein the operations further comprise creating the cache based on an instruction to copy a directory tree within which the directory is located to storage.
- Claim 10Independent Claim
A method to avoid redundant merges of different types of access control information in a file system, comprising: receiving, from an application, a request to store an object in a directory, wherein the object is associated with a first identifier representing first access control information and a second identifier representing second access control information; creating, for the object, a first merged identifier based on the first identifier and the second identifier; determining that an entry in a cache includes a second merged identifier that matches the first merged identifier; in response to determining that the entry in the cache includes the second merged identifier, associating the object with merged access control information in the entry in the cache using a pointer, wherein: the merged access control information is based on the first access control information and the second access control information; and the merged access control information is associated with another object; and storing the object in the directory with the pointer.
- Claim 11Depends on #10
The method of claim 10, wherein the first access control information is associated with a user of the application from which the request is received.
- Claim 12Depends on #10
The method of claim 10, wherein the second access control information is inherited from the directory in which the object is stored.
- Claim 13Depends on #10
The method of claim 10, wherein creating the first merged identifier comprises: providing the first identifier and second identifier as inputs to a hash algorithm; and receiving the first merged identifier as an output from the hash algorithm.
- Claim 14Depends on #13
The method of claim 13, wherein the inputs include an indicator that the object is a directory and not a file.
- Claim 15Depends on #10
The method of claim 10, wherein: the object is associated with a third identifier representing third access control information; the merged access control information is created by merging the first access control information, the second access control information, and the third access control information; and the first merged identifier is created based on the first identifier, the second identifier, and the third identifier.
- Claim 16Depends on #15
The method of claim 15, wherein the third access control information is defined by a user of the application from which the request is received.
- Claim 17Depends on #10
The method of claim 10, further comprising: receiving, from the application, a prior request to store the other object in the directory, wherein the other object is associated with the first identifier representing the first access control information and the second identifier representing the second access control information; creating, for the other object, the second merged identifier based on the first identifier and the second identifier; determining that entries in the cache do not include the second merged identifier; in response to determining that the entries in the cache do not include the second merged identifier: creating the merged access control information for the other object by merging the first access control information and the second access control information; adding the second merged identifier and the merged access control information to the entry in the cache; and storing the other object in the directory with another pointer that associates the other object with the merged access control information in the entry in the cache.
- Claim 18Depends on #10
The method of claim 10, further comprising creating the cache based on an instruction to copy a directory tree within which the directory is located to storage.
- Claim 19Independent Claim
Computer-readable storage media storing instructions that, when executed by a processing system, cause a file system to perform operations comprising: receiving, from an application, a request to store an object in a directory, wherein the object is associated with a first identifier representing first access control information and a second identifier representing second access control information; creating, for the object, a first merged identifier based on the first identifier and the second identifier; determining that an entry in a cache includes a second merged identifier that matches the first merged identifier; in response to determining that the entry in the cache includes the second merged identifier, associating the object with merged access control information in the entry in the cache using a pointer, wherein: the merged access control information is based on the first access control information and the second access control information; and the merged access control information is associated with another object; and storing the object in the directory with the pointer.
- Claim 20Depends on #19
The computer-readable storage media of claim 19, wherein: the first access control information is derived from a token associated with a user of the application from which the request is received; the second access control information is inherited from the directory in which the object is stored; and creating the first merged identifier comprises: providing the first identifier and second identifier as inputs to a hash algorithm; and receiving the first merged identifier as an output from the hash algorithm.
Technical Overview & Description
PRIORITY APPLICATION The present application is a non-provisional application of, and claims priority to, U.S. Provisional Application Ser. No. 63/503,933 filed on May 23, 2023, entitled: CACHE FOR IDENTIFIERS REPRESENTING MERGED ACCESS CONTROL INFORMATION, the contents of which are hereby incorporated by reference in their entirety. BACKGROUND An operating system of a computing device (e.g., a server, a desktop computer, a laptop computer) is configured to interact with a file system to perform operations in association with files stored on a storage device (e.g., open a file, delete a file, write to a file, read from a file, replace a file, copy a file, move a file, search for a file, create a file). A file system is configured as a hierarchical structure that includes nodes representing objects, e.g., directories and/or files (e.g., a document, an executable, a spreadsheet, an image, a video). Moreover, a file system comprises logic that enables navigation through the nodes to locate an object and to perform an operation in association with the object. An object that is in the process of being created within a directory tree, and therefore, written to a storage device typically includes different types of access control information. A directory tree is an identifiable structure that includes a plurality of nodes that represent multiple directories and/or multiple files located in the multiple directories. Access control information defines users that can access an object and/or additional operations the defined users are authorized to perform on the object (e.g., modify content of the file, delete the file). Access control information can include access control lists and/or security descriptors that specify access control entries. A first example type of access control information associated with a user (e.g., derived from a token associated with the user) executing an application that requests the creation and/or modification of an object. A second example type
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (11)
Non-Patent Literature (10)
- P. Liu, L. Fang, M. C. Huang, Q. Hu and G. Jiang,
- “
- Building Expressive and Area-Efficient Directories with Hybrid Representation and Adaptive Multi-Granular Tracking,
- ”
- in IEEE Transactions on Computers, vol. 65, No. 3, pp. 847-859, Mar. 1, 2016.
- A. H. Karp and V. Sarkar,
- “
- Data merging for shared-memory multiprocessors,
- ”
- [1993] Proceedings of the Twenty-sixth Hawaii International Conference on System Sciences, Wailea, HI, USA, 1993, pp. 244-256.