×

Reducing read operations and branches in file system policy checks

  • US 10,642,784 B2
  • Filed: 09/15/2016
  • Issued: 05/05/2020
  • Est. Priority Date: 09/15/2016
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for identifying a set of files, conforming to a policy, the method comprising:

  • receiving, by at least one processor, a first request to determine files, included in a first snapshot of a file system that conform to a first policy attribute, wherein the first policy attribute is included in an input policy, wherein the first request includes a request to determine files included in the first snapshot of the file system that conform to a second policy attribute, and wherein the second policy attribute is included in the input policy;

    determining, by the at least one processor, in response to the first request, that policy output information for the first policy attribute is not saved in a storage device;

    identifying, by the at least one processor, in response to determining that policy output information for the first policy attribute is not saved in the storage device, a first subset of files, included in the first snapshot of the file system, that conform to the first policy attribute;

    identifying, by the at least one processor, in response to the first request a third subset of files, included in the first snapshot of the file system, that conform to the second policy attribute, wherein the first subset of files conform to the first policy attribute based on respective file type attributes of files in the first subset of files matching a first file type, and wherein the third subset of files conform to the second policy attribute based on respective modification date attributes of the third subset of files being greater than a first date;

    saving, by the at least one processor, first policy output information descriptive of the first subset of files, and third policy output information comprising information descriptive of files included in the third subset of files;

    receiving, by the at least one processor, a subsequent request to determine files, included in a subsequent snapshot of the file system, that conform to the first policy attribute;

    determining, by the at least one processor, based on the first policy output information, a difference set comprising files included in the subsequent snapshot that are not included in the first snapshot;

    identifying, by the at least one processor, a second subset of files, included in the difference set, that conform to the first policy attribute;

    generating second policy output information descriptive of files included in the second subset of files; and

    outputting, by the at least one processor, the first policy output information merged with the second policy output information.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×