A method for stream allocation in a data storage system begins by
determining whether a stream needs storage space. Storage space for the
stream is requested, and a device on which to allocate the storage space
is selected. The storage space on the selected device is allocated to the
stream.