Patent ID: 8667360

Claim:
A method comprising: receiving data from a storage area; and generating a codeword from the received data with an encoder, the codeword having a data portion and a parity portion, wherein the codeword has a first block length, and wherein the encoder applies a linear block code, the linear block code having a second block length that is shorter than the first block length, wherein generating the codeword comprises: dividing the received data into a plurality of data blocks; encoding, by the encoder, each of the plurality of data blocks to generate corresponding codewords, each of the corresponding codewords having a block length equal to the second block length, and each of the corresponding codewords having a data portion and a parity portion; selecting one or more portions of one or more of the plurality of data blocks; and encoding, by the encoder, the selected one or more portions to generate another parity portion.