euspectre / kedr

Main repository of KEDR project
117 stars 47 forks source link

Some functions to simulate #10

Open euspectre opened 9 years ago

euspectre commented 9 years ago

Original issue 10 created by euspectre on 2013-04-09T06:51:19.000Z:

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)

euspectre commented 9 years ago

Comment #1 originally posted by euspectre on 2013-04-09T07:08:40.000Z:

<empty>

euspectre commented 9 years ago

Comment #2 originally posted by euspectre on 2013-04-09T07:23:34.000Z:

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).

euspectre commented 9 years ago

Comment #3 originally posted by euspectre on 2013-04-09T07:28:57.000Z:

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?

euspectre commented 9 years ago

Comment #4 originally posted by euspectre on 2015-01-22T14:01:21.000Z:

<empty>