ALLOCATING FILES IN A FILE SYSTEM INTEGRATED WITH A RAID DISK SUB-SYSTEM
First Claim
1. A method of storing data in a storage redundancy array that includes a plurality of storage devices, the method comprising:
- for each of a plurality of blocks of data to be stored in the storage redundancy array,selecting a block of data for which storage space has not yet been allocated;
determining whether said block of data is in a different file or in a different read ahead segment from a preceding block of data for which storage space in a first storage device of said plurality of storage devices in said array has been write allocated;
selecting storage space in a second storage device of said plurality of storage devices if said block of data is in a different file or is in a different read ahead segment from said preceding block, andselecting storage space in said first storage device if said block of data is not in a different file or in a different read ahead segment from said preceding block.
0 Assignments
0 Petitions
Accused Products
Abstract
Integrating a file system with a RAID array that exports precise information about the arrangement of data blocks in the RAID subsystem. The present invention uses separate current-write location (CWL) pointers for each disk in the disk array where the pointers simply advance through the disks as writes occur. The present invention writes on the disk with the lowest CWL pointer. A new disk is chosen only when the algorithm starts allocating space for a new file, or when it has allocated N blocks on the same disk for a single file. A sufficient number of blocks are defined as all the buffers in a chunk of N sequential buffers in a file. The result is that CWL pointers are never more than N blocks apart on different disks, and large files have N consecutive blocks on the same disk.
-
Citations
12 Claims
-
1. A method of storing data in a storage redundancy array that includes a plurality of storage devices, the method comprising:
for each of a plurality of blocks of data to be stored in the storage redundancy array, selecting a block of data for which storage space has not yet been allocated; determining whether said block of data is in a different file or in a different read ahead segment from a preceding block of data for which storage space in a first storage device of said plurality of storage devices in said array has been write allocated; selecting storage space in a second storage device of said plurality of storage devices if said block of data is in a different file or is in a different read ahead segment from said preceding block, and selecting storage space in said first storage device if said block of data is not in a different file or in a different read ahead segment from said preceding block. - View Dependent Claims (2, 3, 4)
-
5. A system comprising:
-
a processor; a memory that stores instructions and data; a storage redundancy array comprising a plurality of storage devices; and a cache, wherein said processor executes said instructions to control said system to perform a process which comprises; for each of a plurality of blocks of data to be stored in the storage redundancy array, selecting a block of data for which storage space has not yet been allocated, determining whether said block of data is in a different file or in a different read ahead segment from a preceding block of data for which storage space in a first storage device of said plurality of storage devices in said array has been write allocated, selecting storage space in a second storage device of said plurality of storage storage devices if said block of data is in a different file or is in a different read ahead segment from said preceding block, and selecting storage space in said first storage device if said block of data is not in a different file or in a different read ahead segment from said preceding block. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory memory storing information including instructions, the instructions executable by a processor to cause the processor to perform a process of storing blocks of data in a storage redundancy array, said storage redundancy array comprising a plurality of storage devices, devices, the process including:
for each of a plurality of blocks of data to be stored in the storage redundancy array, selecting a block of data for which storage space has not yet been allocated; determining whether said block of data is in a different file or in a different read ahead segment from a preceding block of data for which storage space in a first storage device of said plurality of storage devices in said array has been write allocated; selecting storage space in a second storage device of said plurality of storage devices if said block of data is in a different file or is in a different read ahead segment from said preceding block, and selecting storage space in said first storage device if said block of data is not in a different file or in a different read ahead segment from said preceding block. - View Dependent Claims (10, 11, 12)
Specification