Incremental scan
First Claim
1. A method for incrementally scanning data, comprising:
- defining, for a first directory containing files, an extended attribute structure having a plurality of fields storing attributes related to modification of the files;
after a previous scan to set attributes in the extended attribute structure including a next tentative scan date, a modified time, and a dirty indicator indicating an exception happened during the previous scan and providing a workaround for unexpected behavior of the previous scan, examining during the incremental scan the attributes of the first directory;
determining if the dirty indicator has been set, the dirty indicator contained in a field of the extended attribute structure;
if the dirty indicator has been set, scanning the files in the first directory;
if the dirty indicator has not been set, determining if the first directory has been modified;
if the first directory has not been modified, determining if the next tentative scan date equals to a system date;
if the next tentative scan date equals to the system date, scanning the files;
if the next tentative scan date does not equal to the system date, examining attributes of a second directory; and
if the first directory has been modified, scanning the files in the first directory.
9 Assignments
0 Petitions
Accused Products
Abstract
This disclosure relates to a method, article of manufacture, and apparatus for scanning data. In some embodiments, this includes examining attributes of a first directory, wherein the attributes include at least one from a group comprising a next tentative scan date, a modified time, and a dirty indicator, determining if the dirty indicator has been set, if the dirty has been set, scanning files in the first directory, if the dirty indicator has not been set, determining if the first directory has been modified, if the first directory has not been modified, determining if the next tentative scan date equals to a system date, if the next tentative scan date equals to the system date, scanning the files, if the next tentative scan date does not equal to the system date, examining attributes of a second directory, and if the first directory has been modified, scanning the files.
43 Citations
11 Claims
-
1. A method for incrementally scanning data, comprising:
-
defining, for a first directory containing files, an extended attribute structure having a plurality of fields storing attributes related to modification of the files; after a previous scan to set attributes in the extended attribute structure including a next tentative scan date, a modified time, and a dirty indicator indicating an exception happened during the previous scan and providing a workaround for unexpected behavior of the previous scan, examining during the incremental scan the attributes of the first directory; determining if the dirty indicator has been set, the dirty indicator contained in a field of the extended attribute structure; if the dirty indicator has been set, scanning the files in the first directory; if the dirty indicator has not been set, determining if the first directory has been modified; if the first directory has not been modified, determining if the next tentative scan date equals to a system date; if the next tentative scan date equals to the system date, scanning the files; if the next tentative scan date does not equal to the system date, examining attributes of a second directory; and if the first directory has been modified, scanning the files in the first directory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for incrementally scanning data, comprising:
- a processor configured to
define, for a first directory containing files, an extended attribute structure having a plurality of fields storing attributes related to modification of the files; after a previous scan to set attributes in the extended attribute structure including a next tentative scan date, a modified time, and a dirty indicator indicating an exception happened during the previous scan and providing a workaround for unexpected behavior of the previous scan, examine during the incremental scan the attributes of the first directory; determine if the dirty indicator has been set, the dirty indicator contained in a field of the extended attribute structure; if the dirty indicator has been set, scan the files in the first directory; if the dirty indicator has not been set, determine if the first directory has been modified; if the first directory has not been modified, determine if the next tentative scan date equals to a system date; if the next tentative scan date equals to the system date, scan the files; if the next tentative scan date does not equal to the system date, examine attributes of a second directory; and if the first directory has been modified, scanning the files in the first directory.
- a processor configured to
-
11. A computer program product for incrementally scanning data, comprising a non-transitory computer usable medium having machine readable code embodied therein for:
-
defining, for a first directory containing files, an extended attribute structure having a plurality of fields storing attributes related to modification of the files; after a previous scan to set attributes in the extended attribute structure including a next tentative scan date, a modified time, and a dirty indicator indicating an exception happened during the previous scan and providing a workaround for unexpected behavior of the previous scan, examining during the incremental scan the attributes of the first directory; determining if the dirty indicator has been set, the dirty indicator contained in a field of the extended attribute structure; if the dirty indicator has been set, scanning the files in the first directory; if the dirty indicator has not been set, determining if the first directory has been modified; if the first directory has not been modified, determining if the next tentative scan date equals to a system date; if the next tentative scan date equals to the system date, scanning the files; if the next tentative scan date does not equal to the system date, examining attributes of a second directory; and if the first directory has been modified, scanning the files in the first directory.
-
Specification