Patent ID: 7036066

Claim:
A method for error detection using data block mapping performed by a host storage system, the method, comprising: receiving a write request to write a user data block having a first block size; generating an error detection code for the user data block; appending the error detection code to the user data block to form an extended data block; mapping a first segment of the extended data block to a first actual data block having a block size equal to the first block size, wherein the first actual data block comprises a first portion and a second portion such that said first segment of the extended data block is mapped to the second portion of the first actual data block; and mapping a second segment of the extended data block to a second actual data block having a block size equal to the first block size, wherein the second actual data block comprises a first portion and a second portion such that said second segment of the extended data block is mapped to the first portion of the second actual data block; transmitting the first actual data block and the second actual data block to a storage device; and storing the first actual data block and the second actual data block on the storage device.