首页> 外国专利> Method and apparatus for caching file control information corresponding to a second file block in a first file block

Method and apparatus for caching file control information corresponding to a second file block in a first file block

机译:用于在第一文件块中缓存与第二文件块相对应的文件控制信息的方法和装置

摘要

A method and system for managing control information associated with a file is disclosed. According to the method, a cache is established in a first file block for storing a second type of file control data. The cache has a cache range. In response to receiving a command to write the file, a first and second type of file control data is generated. The second type of file control data has a logical block number identifying a location in the second file block where the second type of file control data is to be stored. The first type of file control data is stored in the first file block. If the logical block number is within the cache range, then the second type of file control data is stored in the cache. If the logical block number is outside the cache range, then the cache is flushed by copying the previously stored second type of file control data in the cache to a second file block. The second type of file control data is then written into the cache.
机译:公开了一种用于管理与文件相关联的控制信息的方法和系统。根据该方法,在第一文件块中建立高速缓存,用于存储第二类型的文件控制数据。缓存具有缓存范围。响应于接收到写入文件的命令,生成第一和第二类型的文件控制数据。第二类型的文件控制数据具有逻辑块号,该逻辑块号标识第二文件块中第二类型的文件控制数据将被存储的位置。第一种文件控制数据存储在第一个文件块中。如果逻辑块号在高速缓存范围内,则第二种文件控制数据存储在高速缓存中。如果逻辑块号不在高速缓存范围内,则通过将先前存储在高速缓存中的第二类型的文件控制数据复制到第二文件块来刷新高速缓存。然后将第二种类型的文件控制数据写入高速缓存。

著录项

  • 公开/公告号US5996047A

    专利类型

  • 公开/公告日1999-11-30

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC.;

    申请/专利号US19960673958

  • 发明设计人 J. KENT PEACOCK;

    申请日1996-07-01

  • 分类号G06F12/08;

  • 国家 US

  • 入库时间 2022-08-22 01:38:52

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号