Updating metadata in a logical volume associated with a storage controller for data units indicated in a data structure
First Claim
1. A method, comprising:
- generating a data structure indicating data units in a volume whose metadata is to be updated;
initiating an operation to update the metadata for the data units indicated in the data structure, wherein updating the metadata comprises modifying a field in the metadata for the data units indicated in the data structure;
indicating in the data structure that the metadata for one of the data units has been updated in response to updating the metadata for the data unit;
receiving an Input/Output (I/O) request to one of the data units in the volume while the metadata for the data units indicated in the data structure is being updated;
determining, in response to the I/O request, from the data structure whether the metadata for the requested data unit was updated;
updating the metadata for the requested data unit in response to determining that the metadata for the requested data unit has not been updated; and
executing the I/O request against the requested data unit.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method, system, and article of manufacture for updating metadata in a logical volume associated with a storage controller. A data structure is generated indicating data units in a volume whose metadata is to be updated. An operation is initiated to update the metadata for data units indicated in the data structure. Indication is made in the data structure that the metadata for one data unit has been updated in response to updating the metadata for the data unit. An Input/Output (I/O) request is received to one data unit in the volume while the metadata for the data units indicated in the data structure is being updated. A determination is made, in response to the I/O request, from the data structure whether the metadata for the requested data unit was updated. The metadata for the requested data unit is updated in response to determining that the metadata for the requested data unit has not been updated. The I/O request is executed against the requested data unit.
-
Citations
26 Claims
-
1. A method, comprising:
-
generating a data structure indicating data units in a volume whose metadata is to be updated; initiating an operation to update the metadata for the data units indicated in the data structure, wherein updating the metadata comprises modifying a field in the metadata for the data units indicated in the data structure; indicating in the data structure that the metadata for one of the data units has been updated in response to updating the metadata for the data unit; receiving an Input/Output (I/O) request to one of the data units in the volume while the metadata for the data units indicated in the data structure is being updated; determining, in response to the I/O request, from the data structure whether the metadata for the requested data unit was updated; updating the metadata for the requested data unit in response to determining that the metadata for the requested data unit has not been updated; and executing the I/O request against the requested data unit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system, comprising:
-
a computer readable storage medium including a data structure indicating data units in a volume whose metadata is to be updated; and an Input/Output (I/O) manager executed to perform operations, the operations comprising; generating the data structure indicating the data units in the volume whose metadata is to be updated; initiating an operation to update the metadata for the data units indicated in the data structure, wherein updating the metadata comprises modifying a field in the metadata for the data units indicated in the data structure; indicating in the data structure that the metadata for one of the data units has been updated in response to updating the metadata for the data unit; receiving an Input/Output (I/O) request to one of the data units in the volume while the metadata for the data units indicated in the data structure is being updated; determining, in response to the I/O request, from the data structure whether the metadata for the requested data unit was updated; updating the metadata for the requested data unit in response to determining that the metadata for the requested data unit has not been updated; and executing the I/O request against the requested data unit. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. An article of manufacture comprising a computer readable storage medium including code executed by a processor to perform operations, the operations comprising:
-
generating a data structure indicating data units in a volume whose metadata is to be updated; initiating an operation to update the metadata for the data units indicated in the data structure, wherein updating the metadata comprises modifying a field in the metadata for the data units indicated in the data structure; indicating in the data structure that the metadata for one of the data units has been updated in response to updating the metadata for the data unit; receiving an Input/Output (I/O) request to one of the data units in the volume while the metadata for the data units indicated in the data structure is being updated; determining, in response to the I/O request, from the data structure whether the metadata for the requested data unit was updated; updating the metadata for the requested data unit in response to determining that the metadata for the requested data unit has not been updated; and executing the I/O request against the requested data unit. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26)
-
Specification