摘要 |
Embodiments of the present invention provide a disk array flushing method and a disk array flushing apparatus. The method includes: acquiring a sequence, which is according to physical addresses of logical units, of the logical units in a same redundant array of independent disks RAID group in a disk array; and sequentially flushing, according to a sequence of the physical addresses of the logical units, concurrent flushing inputs/outputs IOs of the RAID group to the logical units in the RAID group, where each concurrent flushing IO includes at least one dirty page to be flushed to one logical unit in the RAID group. According to the disk array flushing method and the disk array flushing apparatus provided in the embodiments of the present invention, by uniformly scheduling logical units in a single RAID group and performing flushing according to a sequence of physical addresses, it takes less time for a magnetic arm to jump back and forth for addressing, and influences between RAID groups are prevented by means of independent control over the RAID groups, thereby improving flushing efficiency of a disk array, and increasing throughput of the disk array. |