发明名称 Method for allocating files in a file system integrated with a raid disk sub-system
摘要 A method is disclosed for integrating a file system with a RAID array that exports precise information about the arrangement of data blocks in the RAID subsystem. The file system examines this information and uses it to optimize the location of blocks as they are written to the RAID system. Thus, the system uses explicit knowledge of the underlying RAID disk layout to schedule disk allocation. The method 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 algorithm used has two primary goals. The first goal is to keep the CWL pointers as close together as possible, thereby improving RAID efficiency by writing to multiple blocks in the stripe simultaneously. The second goal is to allocate adjacent blocks in a file on the same disk, thereby improving read back performance. The method satisfies the first goal by always writing on the disk with the lowest CWL pointer. For the second goal, a new disks 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 is 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.
申请公布号 US6138126(A) 申请公布日期 2000.10.24
申请号 US19990359168 申请日期 1999.07.21
申请人 NETWORK APPLIANCE, INC. 发明人 HITZ, DAVID;MALCOLM, MICHAEL;LAU, JAMES;RAKITZIS, BYRON
分类号 G06F3/06;G06F12/00;G06F17/00;G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F3/06
代理机构 代理人
主权项
地址