Partitioning a directory while accessing the directory
AssigneeSymantec Corporation
InventorsAnindya Banerjee, Maneesh Pusalkar
Life of this patent
Estimating the term…
Abstract
A process for reading entries in a directory is initiated. A first index is maintained to indicate how far the read has progressed in the directory. If, during execution of the process, the directory is partitioned into subdirectories, then a second index is maintained for each of the subdirectories to indicate how far the read has progressed in each of the subdirectories. A third index that indicates how far the read has progressed in the partitioned directory is also maintained.
Claims20
A non-transitory computer-readable storage medium having computer-executable instructions for causing a computer system to perform a method comprising:
- initiating a process comprising a read of entries in a directory;
- maintaining a first index to indicate how far said read has progressed in said directory;
- if, during execution of said process, said directory is partitioned to create a partitioned directory comprising a plurality of subdirectories, then maintaining a second index for each of said subdirectories to indicate how far said read has progressed in each of said subdirectories;
- and
- maintaining a third index that indicates how far said read has progressed in said partitioned directory.
A computer system comprising:
- a processor;
- and
- memory coupled to said processor and having stored therein instructions that, if executed by said computer system, cause said computer system to execute a method comprising:
- reading a subset of a plurality of entries in a directory to generate a listing of said plurality of entries;
- setting a first index to indicate said subset has been read;
- before all entries in said directory have been read, partitioning said directory to form a partitioned directory comprising a plurality of subdirectories;
- for each of said subdirectories, setting a second index to indicate which entries in said subdirectories have been read;
- and
- setting a third index to indicate how far said read has progressed in said partitioned directory.
A non-transitory computer-readable storage medium having computer-executable components comprising:
- an operating system;
- and
- a file system coupled to said operating system, said file system comprising a directory comprising a plurality of entries;
- wherein in response to a call issued by said operating system as part of a read operation, said file system returns a number of said entries to said operating system and maintains a first index to indicate entries that have been returned to said operating system;
- wherein further if, during execution of said read operation, said directory is partitioned into a partitioned directory comprising a plurality of subdirectories, then said file system maintains:
- i) a second index for each of said subdirectories to indicate entries in said subdirectories that have been returned to said operating system, and ii) a third index that indicates how far said read operation has progressed in said partitioned directory.
Dependencies are inferred from the claim text.