Patent ID: 8886880

Claim:
A method for destaging data from a memory of a storage controller to a striped volume, comprising: determining, by a processor of the storage controller, if a stripe should be destaged from a write cache of the storage controller to the striped volume; if a stripe should be destaged: destaging, by the storage controller, a partial stripe from the write cache if a full stripe write percentage is less than a full stripe write affinity value; and destaging, by the storage controller, a full stripe from the write cache if the full stripe write percentage is greater than the full stripe write affinity value, wherein the full stripe write percentage comprises a full stripe count divided by the sum of the full stripe count and a partial stripe count, wherein the full stripe count is the number of stripes of the striped volume in the write cache wherein all chunks of a stripe are dirty, wherein the partial stripe count is the number of stripes of the striped volume in the write cache wherein at least one chunk but less than all chunks of the stripe are dirty.