发明名称 Allocating files in a file system integrated with a raid disk sub-system
摘要 The present invention is a method 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 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 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 present invention 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.
申请公布号 US2004064474(A1) 申请公布日期 2004.04.01
申请号 US20030637803 申请日期 2003.08.08
申请人 HITZ DAVID;MALCOLM MICHAEL;LAU JAMES;RAKITZIS BYRON 发明人 HITZ DAVID;MALCOLM MICHAEL;LAU JAMES;RAKITZIS BYRON
分类号 G06F3/06;G06F12/00;G06F17/00;G06F17/30;(IPC1-7):G06F17/00 主分类号 G06F3/06
代理机构 代理人
主权项
地址