Efficient support for drives with different sector alignments in a raid layout
AssigneeDell Products L.P.
InventorsDamon Hsu-Hung, Jeffrey L. Grummon
Life of this patent
Estimating the term…
Abstract
In one embodiment, a method includes receiving an input/output (I/O) request for data that starts or ends at a location other than a physical sector boundary of the device. The method further includes reading, starting at a first physical sector boundary before a beginning location specified in the I/O request and ending at a second physical sector boundary after an ending location specified in the request.
Claims20
A method comprising:
- responsive to a write request to a redundant array of independent drives (RAID) with a plurality of drives, determining a RAID operation to fulfill the write request, and further determining a plurality of data items required to complete the RAID operation, wherein each data item comprises a data range on one of the plurality of drives, wherein the data range specified in each data item may start or end at a location other than a physical sector boundary of the drive specified in the data item;
- pre-reading at least one of the plurality of data items, starting at a first physical sector boundary at or before a beginning location specified in each corresponding data range and ending at a second physical sector boundary at or after an ending location specified in each corresponding data range;
- performing at least one of a modify operation to generate new parity or mirror data based on data from the write request and data from the pre-reads, a modify operation to overlay data from the write request onto the data from the pre-reads, and a modify operation to overlay data from the parity calculation onto data from the pre-reads;
- and
- writing any data item containing data from the write request starting at the first physical sector boundary and ending at the second physical sector boundary;
- wherein the plurality of disk drives are enabled to have one or a plurality of physical sector sizes.
A system comprising:
- a request analysis module configured to, responsive to a write request to a redundant array of independent drives (RAID) with a plurality of drives, determine a RAID operation to fulfill the write request, and further determine a plurality of data items required to complete the RAID operation, wherein each data item comprises a data range on one of the plurality of drives, wherein the data range specified in each data item may start or end at a location other than a physical sector boundary of the drive specified in the data item;
- a drive reading module configured to pre-read at least one of the plurality of data items, starting at a first physical sector boundary at or before a beginning location specified in each corresponding data range and ending at a second physical sector boundary at or after an ending location specified in each corresponding data range;
- a modification module configured to perform at least one of a modify operation to generate new parity or mirror data based on data from the write request and data from the pre-reads, a modify operation to overlay data from the write request onto the data from the pre-reads, and a modify operation to overlay data from the parity calculation onto data from the pre-reads;
- and
- a disk writing module configured to write any data item containing data from the write request starting at the first physical sector boundary and ending at the second physical sector boundary;
- wherein the plurality of disk drives are enabled to have one or a plurality of physical sector sizes.
A non-transitory computer-readable medium configured to store instructions for supporting input/output (I/O) requests to drives with different physical block sizes, the instructions, when loaded and executed by a processor, causes the processor to:
- responsive to a write request to a redundant array of independent drives (RAID) with a plurality of drives, determine a RAID operation to fulfill the write request, and further determine a plurality of data items required to complete the RAID operation, wherein each data item comprises a data range on one of the plurality of drives, wherein the data range specified in each data item may start or end at a location other than a physical sector boundary of the drive specified in the data item;
- pre-read at least one of the plurality of data items, starting at a first physical sector boundary at or before a beginning location specified in each corresponding data range and ending at a second physical sector boundary at or after an ending location specified in each corresponding data range;
- perform at least one of a modify operation to generate new parity or mirror data based on data from the write request and data from the pre-reads, a modify operation to overlay data from the write request onto the data from the pre-reads, and a modify operation to overlay data from the parity calculation onto data from the pre-reads;
- and
- write any data item containing data from the write request starting at the first physical sector boundary and ending at the second physical sector boundary;
- wherein the plurality of disk drives are enabled to have one or a plurality of physical sector sizes.
Dependencies are inferred from the claim text.