×

Systems and methods for sequential resilvering

  • US 10,671,501 B2
  • Filed: 05/31/2017
  • Issued: 06/02/2020
  • Est. Priority Date: 06/09/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of reconstructing data from a failed storage device in a storage pool, the method comprising:

  • identifying a plurality of data blocks that are stored on the failed storage device;

    locating the plurality of data blocks on one or more redundant storage devices;

    sorting and storing the plurality of data blocks from the one or more redundant storage devices into a plurality of temporary objects in a first order in which the plurality of data blocks are located on the failed storage device, wherein a second order in which the plurality of data blocks are stored on the one or more redundant storage devices is different from the first order of the plurality of data blocks after sorting, wherein each of the plurality of data blocks is associated with an I/O operation, and wherein sorting the plurality of data blocks comprises;

    sorting the plurality of data blocks into one or more buckets by performing a first sorting operation that coarsely sorts data blocks into each of the one or more buckets based on disk address, such that blocks within each of the one or more buckets are not required to be in disk address order; and

    performing a second sorting operation that sorts the blocks within each of the one or more buckets according to disk address order;

    grouping the I/O operations for the plurality of data blocks into sequential I/O operations based on the order in which the plurality of data blocks are located on the failed storage device; and

    executing the sequential I/O operations to resilver a new storage device replacing the failed storage device.

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