×

Generalized write operations verification method

  • US 10,380,069 B2
  • Filed: 05/04/2016
  • Issued: 08/13/2019
  • Est. Priority Date: 05/04/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method of validating a write request to a storage device to prevent corruption of metadata, wherein the write request comprises a logical block address, a magic signature, and a data type flag, the method comprising:

  • determining if the logical block address of the write request overlaps an existing extent of a verified area of the storage device;

    responsive to determining that the logical block address overlaps an existing extent of a verified area, determining if the write request comprises metadata based on the data type flag indicating metadata;

    responsive to determining that the write request comprises metadata, determining if the magic signature matches an expected magic signature of a legend of the verified area;

    responsive to determining that the magic signature matches an expected magic signature of a legend of the verified area,determining if a number of blocks of the write request is valid;

    responsive to determining that the number of blocks of the write request is valid, determining if a size of the blocks of the write request is equal to a multiple of a node size of the legend of the verified area; and

    responsive to determining that the size of the blocks of the write request is equal to a multiple of a node size of the legend of the verified area, writing the metadata of the write request to the storage device.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×