发明名称 |
Partitioning a directory while accessing the directory |
摘要 |
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. |
申请公布号 |
US8818970(B2) |
申请公布日期 |
2014.08.26 |
申请号 |
US201113083065 |
申请日期 |
2011.04.08 |
申请人 |
Symantec Corporation |
发明人 |
Banerjee Anindya;Pusalkar Maneesh |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
Wilmer Cutler Pickering Hale and Dorr LLP |
代理人 |
Wilmer Cutler Pickering Hale and Dorr LLP |
主权项 |
1. 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, wherein said process is associated with a first thread that is configured to execute in parallel with a second thread; maintaining a first index to indicate how far said read has progressed in said directory; maintaining a second index for each of a plurality of subdirectories in the event said directory is partitioned, during execution of said process, to create a partitioned directory comprising said plurality of subdirectories to indicate how far said read has progressed in each of said subdirectories; maintaining a third index to indicate how far said read has progressed in said partitioned directory; and clearing values for said first and second indices after said process is completed across the plurality of subdirectories. |
地址 |
Mountain View CA US |