首页> 外国专利> File allocation method of file system integrated with RAID disk subsystem

File allocation method of file system integrated with RAID disk subsystem

机译:RAID磁盘子系统集成文件系统的文件分配方法

摘要

The present invention is a method for integrating a file system with a RAID array (1030) that exports precise information about the arrangement of data blocks in the RAID subsystem (1030). 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 (1022) in the disk array (1030) where the pointers simply advance through disks (1022) 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 (1030) efficiency by writing to multiple blocks in the stripe simultaneously. The second goal is to allocate adjacent blocks of a file on the same disk (1022), thereby improving read back performance. The first goal is satisfied by always writing on the disk (1022) with the lowest CWL pointer. For the second goal, another disk (1024) is chosen only when the algorithm starts allocating space for a new file, or when it has allocated N blocks on the same disk (1022) for a single file. The result is that CWL pointers are never more than N blocks apart on different disks (1024), and large files have N consecutive blocks on the same disk (1022).
机译:本发明是一种用于将文件系统与RAID阵列(1030)集成的方法,该阵列输出有关RAID子系统(1030)中数据块的布置的精确信息。系统使用对底层RAID磁盘布局的明确了解来计划磁盘分配。本发明针对磁盘阵列(1030)中的每个磁盘(1022)使用单独的当前写入位置(CWL)指针,其中在发生写入时指针简单地前进通过磁盘(1022)。使用的算法有两个主要目标。第一个目标是使CWL指针尽可能靠近在一起,从而通过同时写入条带中的多个块来提高RAID(1030)效率。第二个目标是在同一磁盘上分配文件的相邻块(1022),从而提高回读性能。通过始终用最低的CWL指针写入磁盘(1022)来满足第一个目标。为了第二个目标,仅当算法开始为新文件分配空间时,或者当它已在同一磁盘(1022)上为单个文件分配了N个块时,才选择另一个磁盘(1024)。结果是,CWL指针在不同的磁盘(1024)上相隔不超过N个块,并且大文件在同一磁盘(1022)上具有N个连续的块。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号