win32asm / kedr

Automatically exported from code.google.com/p/kedr
0 stars 0 forks source link

Some functions to simulate #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We have found out several kernel functions that are used (at least) in JFS and 
simulating faults in these functions could make KEDR Fault Simulation better.

Here is the (still growing) list of such functions:

kmem_cache_create
kthread_create_on_node
mempool_create
mempool_alloc (Maybe no one expects this function to fail, but still...)
__dquot_alloc_space
filemap_write_and_wait_range
read_cache_page
write_one_page
submit_bio (A really dangerous function. Brings to crash at least in JFS)
d_alloc_root (This function is removed in Linux v3.4 and is replaced by 
d_make_root)

Original issue reported on code.google.com by vmartirosyan on 9 Apr 2013 at 6:51

GoogleCodeExporter commented 9 years ago

Original comment by tsy...@gmail.com on 9 Apr 2013 at 7:08

GoogleCodeExporter commented 9 years ago
submit_bio() function is used by FS driver for interact with block device. 
Really, some other functions are also used for that interaction. Fault 
simulation of that interaction is currently developed in ISP RAS(by Georgi 
Riskov).

Original comment by tsy...@gmail.com on 9 Apr 2013 at 7:23

GoogleCodeExporter commented 9 years ago
Sounds reasonable, especially for submit_bio() and friends.

Vahram, do you have the patches to add fault simulation support for 
memory-related functions you have listed?

Original comment by euspec...@gmail.com on 9 Apr 2013 at 7:28

GoogleCodeExporter commented 9 years ago

Original comment by tsy...@gmail.com on 22 Jan 2015 at 2:01