Hash-based mount point lookup in virtual file systems
AssigneeRed Hat, Inc.
InventorRichard Oliveri
Life of this patent
Estimating the term…
Abstract
Systems and methods for performing hash-based mount point lookup in virtual file systems. An example method may include: receiving a first character string representing a file name; identifying, within an array of mount point strings, a second character string comprised by the first character string; identifying a file system object associated with a mount point path represented by the second character string; and utilizing the file system object to access a file referenced by the file name.
Claims20
A method, comprising:
- receiving, by a computer system, a first character string representing a file name;
- identifying, within an array of mount point strings, a second character string matching a starting substring of the first character string;
- identifying a file system object associated with a mount point path represented by the second character string;
- and
- utilizing the file system object to access a file referenced by the file name.
A system, comprising:
- a memory;
- and
- a processing device, operatively coupled to the memory, the processing device to:
- receive a character string representing a mount point path;
- insert the character string into an array of mount point strings, in a descending order of respective mount point string lengths;
- and
- associate the mount point path with a file system object representing a mount point.
A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to:
- receive, by the processing device, a first character string representing a file name;
- identify, within an array of mount point strings, a second character string matching a starting substring of the first character string;
- identify a file system object associated with a mount point path represented by the second character string;
- and
- utilize the file system object to access a file referenced by the file name.
Dependencies are inferred from the claim text.