×

Method and apparatus for self-validating checksums in a file system

  • US 7,603,568 B1
  • Filed: 04/21/2004
  • Issued: 10/13/2009
  • Est. Priority Date: 04/21/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for storing data blocks, comprising:

  • storing a first data block and a second data block in a storage pool, wherein data stored in the storage pool is organized as a hierarchical tree, and wherein the first and second data block are stored on a first level of the hierarchical tree;

    obtaining a first data block location and a second data block location;

    calculating a first data block checksum for the first data block;

    calculating a second data block checksum for the second data block;

    storing a first indirect block at a first indirect block location on a second level of the hierarchical tree in the storage pool, wherein the first indirect block comprises a first block pointer comprising the first data block location and the first data block checksum and a second block pointer comprises the second data block location and the second data block checksum;

    calculating a first indirect block checksum for the first indirect block by applying a checksum function to the first indirect block; and

    storing a second indirect block at a second indirect block location on a third level of the hierarchical tree in the storage pool, wherein the second indirect block comprises the first indirect block location and the first indirect block checksum,wherein each of the first data block location, the second data block location, the first indirect block location, and the second indirect block location are separate physical locations in the storage pool.

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