×

Method and system for service-aware parity placement in a storage system

  • US 8,949,692 B1
  • Filed: 01/23/2014
  • Issued: 02/03/2015
  • Est. Priority Date: 01/23/2014
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer readable medium comprising instructions, which when executed by a processor perform a method, the method comprising:

  • receiving a service notification specifying a target storage device (SD), wherein the target SD is one of plurality of SDs;

    after receiving the service notification;

    receiving a request to write data to persistent storage, wherein the persistent storage comprises the plurality of SDs;

    in response to the request, writing a Redundant Array of Independent Disks (RAID) stripe to the persistent storage wherein the RAID stripe comprises first data blocks and a first parity block, wherein at least one of the first data blocks comprises a portion of the data, wherein the first parity block comprises a parity value calculated using the first data blocks, and wherein the first parity block is stored on the target SD, and wherein none of the first data blocks are stored on the target SD;

    performing a modified garbage collection operation, wherein the modified garbage collection operation comprises;

    identifying a live RAID stripe in the persistent storage, wherein the live RAID stripe comprises second data blocks and a second parity block;

    writing a new RAID stripe to a new location in the persistent storage, wherein the new RAID stripe comprises a third parity block and third data blocks, wherein at least one of the third data blocks stores a copy of a portion of data from the live RAID stripe, wherein the third parity block is stored on the target SD, and wherein none of the third data blocks is stored on the target SD; and

    issuing a removal notification when the modified garbage collection operation is completed, wherein the removal notification indicates that the target SD may be removed from the persistent storage.

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