Patent ID: 8375177

Claim:
An apparatus to efficiently verify writes, the apparatus comprising: a storage device storing executable code; a processor storing the executable code, the executable code comprising a storage module storing a plurality of data sets in a storage controller memory in a write operation; a write module writing the plurality of data sets through a first write channel to a hard disk drive, writing each data set without verification except a representative data set of the plurality of data sets that is last written to the hard disk drive; the write module writing only the representative data set using a write-with-verify write that reads the representative data set from the hard disk drive after writing and verifies the representative data set if the read representative data set is equivalent to a copy of the representative data set stored in the storage controller memory; a verification module verifying that the plurality of data sets is successfully written to the first write channel if the representative data set is verified using the write-with-verify write; and a mitigation module rewriting the plurality of data sets through a second write channel in response to an unsuccessful write of the representative data set through the first write channel.