摘要 |
This invention relates to a device and a method of representing a transfer of data between a main memory and a storage device in a storage system. The invention uses scatter gather lists to describe the data area of both the main memory and of the storage device that are relevant for the data transfer. Further is a direction indicator used to specify whether the disk location is source and the part of the main memory is destination or the other way around. Preferably a surplus previously un-used bit is used as the direction indicator. In this way, an efficient way of handling read, write and/or modify processes is enabled. Further, no actual data is moved during CPU processing, since only references to the data, i.e. tuples, are copied between SGLs which greatly reduces storage and bandwidth requirements. Further, the invention also relates to an efficient way of performing sector alignment using scatter gather lists where, whereby dependency of the CPU is decoupled from the much slower disk/storage input/output.
|