Computer method for handling private process state in a stacking file system
First Claim
Patent Images
1. In a computer system having a subject filesystem and corresponding stacking filesystem, a method for handling directory names comprising:
- obtaining directory trees of the subject filesystem, each directory tree having a root directory entry and plural directory entries linked together in a hierarchical manner, each directory entry having a respective directory name, the subject filesystem having a real root directory different then the root directory entry of each directory tree as obtained;
for each directory entry, representing the directory entry with a respective filesystem object, filesystem objects in the stacking filesystem having respective virtual directory names;
using the directory trees of the subject filesystem for filesystem objects not contained in the stacking filesystem to process operations such that operations are processed using directory names in a name space of the subject filesystem free of interference from the virtual directory names of the stacking filesystem; and
wherein the step of using the directory trees of the subject filesystem further includes mismatch free handling of directory names, relative to the virtual directory names of the stacking filesystem, by employing one or more alias directory entries and wherein each alias directory entry has a respective support structure defining a per process root context in which a root directory entry of a process is set to an alias directory entry that resolves to the real root directory entry of the subject filesystem, resulting in a mismatch free handling of directory names.
2 Assignments
0 Petitions
Accused Products
Abstract
In a subject filesystem, the invention computer method use the filesystem'"'"'s dentry trees for all file system objects not contained in a corresponding stacking filesystem. The invention method set the process environment to have a reliable inheritance of the stacking filesystem'"'"'s root context to new processes and uses the subject filesystem'"'"'s (VFSMNT, dentry) for most lookups. All lookup results are then with respect to the subject filesystem'"'"'s roots.
-
Citations
16 Claims
-
1. In a computer system having a subject filesystem and corresponding stacking filesystem, a method for handling directory names comprising:
-
obtaining directory trees of the subject filesystem, each directory tree having a root directory entry and plural directory entries linked together in a hierarchical manner, each directory entry having a respective directory name, the subject filesystem having a real root directory different then the root directory entry of each directory tree as obtained; for each directory entry, representing the directory entry with a respective filesystem object, filesystem objects in the stacking filesystem having respective virtual directory names; using the directory trees of the subject filesystem for filesystem objects not contained in the stacking filesystem to process operations such that operations are processed using directory names in a name space of the subject filesystem free of interference from the virtual directory names of the stacking filesystem; and wherein the step of using the directory trees of the subject filesystem further includes mismatch free handling of directory names, relative to the virtual directory names of the stacking filesystem, by employing one or more alias directory entries and wherein each alias directory entry has a respective support structure defining a per process root context in which a root directory entry of a process is set to an alias directory entry that resolves to the real root directory entry of the subject filesystem, resulting in a mismatch free handling of directory names. - View Dependent Claims (2, 3, 4, 5)
-
-
6. In a computer system having a subject filesystem and a corresponding stacking filesystem, apparatus for handling directory names comprising:
-
one or more directory trees in the subject filesystem, each directory tree having plural directory entries linked together in a hierarchy, each directory entry having a respective directory name, the subject file system having a real root directory different than the root directory entry of each directory tree; for each directory entry, a respective filesystem object representing the directory entry, the stacking filesystem using virtual directory names for filesystem objects in the stacking filesystem; and a computer implemented routine for processing operations using directory names in a name space of the subject filesystem free of interference with the virtual directory names of the stacking filesystem, such that for filesystem objects not contained in the stacking filesystem the computer implemented routine uses the directory trees of the subject filesystem to process operations including mismatch free handling of directory names, relative to the virtual directory names of the stacking filesystem, by employing one or more alias directory entries and wherein each alias directory entry has a respective support structure defining a per process root context in which a root directory entry of a process is set to an alias directory entry that resolves to the real root directory entry of the subject filesystem, resulting in a mismatch free handling of directory names. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer file system comprising:
-
directory tree means providing one or more directory trees of a subject filesystem, each directory tree having a root directory entry and plural directory entries associated in a hierarchical manner, each directory entry having a respective directory name, the subject file system having a real root directory different than the root director entry of each directory tree; for each directory entry, filesystem object means representing the directory entry, filesystem object means in a corresponding stacking filesystem employing respective virtual directory names for the directory entries; and processor means for processing operations using the directory trees of the subject filesystem for filesystem objects not contained in the stacking filesystem such that the operations are processed using directory names in a name space of the subject filesystem free of interference by the virtual directory names of the stacking filesystem, the processor means having mismatch free handling of directory names relative to at least the virtual directory names of the stacking filesystem by employing one or more alias directory entries and wherein each alias directory entry has a respective support structure defining a per process root context in which a root directory entry of a process is set to an alias directory entry that resolves to the real root directory entry of the subject filesystem, resulting in a mismatch free handling of directory names. - View Dependent Claims (12, 13)
-
-
14. A computer program product comprising:
-
a computer readable storage medium having a computer readable program, wherein the computer readable program when executed by a processor causes the processor to; obtain directory trees of a subject filesystem, each directory tree having a root directory entry and plural directory entries linked together in a hierarchical manner, each directory entry having a respective directory name, the subject file system having a real root directory different than the root directory entry of each directory tree; for each directory entry, represent the directory entry with a respective filesystem object, filesystem objects in a stacking filesystem corresponding to the subject filesystem having respective virtual directory names; and use the directory trees of the subject filesystem for filesystem objects not contained in the stacking filesystem to process operations such that operations are processed using directory names in a name space of the subject filesystem free of interference by the virtual directory names of the stacking filesystem, wherein use of the directory trees further includes mismatch free handling of directory names relative to at least the virtual directory names of the stacking filesystem by employing one or more alias directory entries and wherein each alias directory entry has a respective support structure defining a per process root context in which a root directory entry of a process is set to an alias directory entry that resolves to the real root directory entry of the subject filesystem, resulting in a mismatch free handling of directory names. - View Dependent Claims (15, 16)
-
Specification