Error checking addressable blocks in storage
First Claim
1. An article of manufacture comprising a non-transitory computer readable storage medium having code executed to cause operations with respect to a storage device and a memory and to cause operations comprising:
- storing addressable blocks of data in the storage device in stripes, wherein each stripe includes a plurality of data blocks for one of the addressable blocks and at least one checksum block including checksum data derived from the data blocks for the addressable block;
receiving a write request to modify data in one of the addressable blocks in the storage device;
performing a write for the write request to modify one of the addressable blocks to generate a modified addressable block and updating the checksum data in the stripe having the modified addressable block to generate an updated checksum, wherein modified data in the modified addressable block and the updated checksum data resulting from the write are destaged to the storage device;
indicating in a recently modified list in the memory the modified addressable block;
after the write is performed, performing an error checking operation on a plurality of the stripes having modified addressable blocks indicated in the recently modified list by reading the data blocks and the checksum data in the plurality of the stripes having the modified addressable blocks to determine if the checksum data is accurate; and
initiating an error handling operation in response to determining that the checksum data is not accurate.
4 Assignments
0 Petitions
Accused Products
Abstract
Provided are a method, system, and article of manufacture for error checking addressable blocks in storage. Addressable blocks of data are stored in a storage in stripes, wherein each stripe includes a plurality of data blocks for one of the addressable blocks and at least one checksum block including checksum data for the addressable block. A write request is received to modify data in one of the addressable blocks. The write and updating the checksum are performed in the stripe having the modified addressable block. An indication is made to perform an error checking operation on the stripe for the modified addressable block in response to the write request, wherein the error checking operation reads the data blocks and the checksum in the stripe to determine if the checksum data is accurate. An error handling operation is initiated in response to determining that the checksum data is not accurate.
-
Citations
18 Claims
-
1. An article of manufacture comprising a non-transitory computer readable storage medium having code executed to cause operations with respect to a storage device and a memory and to cause operations comprising:
-
storing addressable blocks of data in the storage device in stripes, wherein each stripe includes a plurality of data blocks for one of the addressable blocks and at least one checksum block including checksum data derived from the data blocks for the addressable block; receiving a write request to modify data in one of the addressable blocks in the storage device; performing a write for the write request to modify one of the addressable blocks to generate a modified addressable block and updating the checksum data in the stripe having the modified addressable block to generate an updated checksum, wherein modified data in the modified addressable block and the updated checksum data resulting from the write are destaged to the storage device; indicating in a recently modified list in the memory the modified addressable block; after the write is performed, performing an error checking operation on a plurality of the stripes having modified addressable blocks indicated in the recently modified list by reading the data blocks and the checksum data in the plurality of the stripes having the modified addressable blocks to determine if the checksum data is accurate; and initiating an error handling operation in response to determining that the checksum data is not accurate. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system in communication with a storage device, comprising:
-
a memory; storage manager code enabled to cause operations, the operations comprising; storing addressable blocks of data in the storage device in stripes, wherein each stripe includes a plurality of data blocks for one of the addressable blocks and at least one checksum block including checksum data derived from the data blocks for the addressable block; receiving a write request to modify data in one of the addressable blocks in the storage device; performing a write for the write request to modify one of the addressable blocks to generate a modified addressable block and updating the checksum data in the stripe having the modified addressable block to generate an updated checksum, wherein modified data in the modified addressable block and the updated checksum data resulting from the write are destaged to the storage device; indicating in a recently modified list in the memory the modified addressable block; after the write is performed, performing an error checking operation on a plurality of the stripes having modified addressable blocks indicated in the recently modified list by reading the data blocks and the checksum data in the plurality of the stripes having the modified addressable blocks to determine if the checksum data is accurate; and initiating an error handling operation in response to determining that the checksum data is not accurate. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A method, comprising:
-
storing addressable blocks of data in a storage device in stripes, wherein each stripe includes a plurality of data blocks for one of the addressable blocks and at least one checksum block including checksum data derived from the data blocks for the addressable block; receiving a write request to modify data in one of the addressable blocks in the storage device; performing a write for the write request to modify one of the addressable blocks to generate a modified addressable block and updating the checksum data in the stripe having the modified addressable block to generate an updated checksum, wherein modified data in the modified addressable block and the updated checksum data resulting from the write are destaged to the storage device; indicating in a recently modified list in the memory the modified addressable block; after the write is performed, performing an error checking operation on a plurality of the stripes having modified addressable blocks indicated in the recently modified list by reading the data blocks and the checksum data in the plurality of the stripes having the modified addressable blocks to determine if the checksum data is accurate; and initiating an error handling operation in response to determining that the checksum data is not accurate. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification