摘要: 研究计算机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
中图分类号:
赵志龙, 左德承, 张展, 钱军. 一种面向文件系统的通用故障注入工具[J]. 计算机工程, 2013, 39(7): 302-305,310.
DIAO Zhi-Long, ZUO De-Cheng, ZHANG Zhan, JIAN Jun. A General Fault Injection Tool Oriented to File System[J]. Computer Engineering, 2013, 39(7): 302-305,310.