作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2013, Vol. 39 ›› Issue (7): 302-305,310. doi: 10.3969/j.issn.1000-3428.2013.07.067

• 开发研究与工程应用 • 上一篇    下一篇

一种面向文件系统的通用故障注入工具

赵志龙,左德承,张 展,钱 军   

  1. (哈尔滨工业大学计算机科学与技术学院,哈尔滨 150001)
  • 收稿日期:2012-07-03 出版日期:2013-07-15 发布日期:2013-07-12
  • 作者简介:赵志龙(1987-),男,硕士研究生,主研方向:容错计算;左德承,教授、博士生导师;张 展,讲师、博士;钱 军,博士研究生
  • 基金资助:
    国家自然科学基金资助项目(61003047,61173020);科技部国际科技合作计划基金资助项目(2010DFA14400);科技部国家科技支撑计划基金资助项目(2011BAH04B03)

A General Fault Injection Tool Oriented to File System

ZHAO Zhi-long, ZUO De-cheng, ZHANG Zhan, QIAN Jun   

  1. (School of Computer Science & Technology, Harbin Institute of Technology, Harbin 150001, China)
  • Received:2012-07-03 Online:2013-07-15 Published:2013-07-12

摘要: 研究计算机I/O子系统对文件系统故障的容错能力,设计一种面向文件系统的通用软件故障注入工具。通过在内核态拦截和修改文件操作函数跳转表实现文件系统故障的注入,模拟计算机I/O子系统可能出现的多种暂时性或永久性故障,并结合性能测试工具分析故障注入前后文件系统的性能变化。实验结果表明,该故障注入工具能够有效地模拟文件操作异常类故障。

关键词: 文件系统, 故障注入, 函数跳转表, 可加载内核模块, proc文件系统, 虚拟文件系统层

Abstract: This paper researches the fault tolerance ability of I/O subsystem for file system error, and designs a general file system oriented software fault injection tool. The tool realizes file system fault with intercepting and modifying the file operation function jump table in kernel level, simulates a variety of temporary or permanent faults that I/O subsystem may appear. With the performance measurement tools, it compares the performance of I/O subsystem before and after file system fault injection. The results verify the fault injection tool can effectively simulate the file operation abnormal fault.

Key words: file system, fault injection, function jump table, loadable kernel module, proc file system, Virtual File System(VFS) level

中图分类号: