kedr icon indicating copy to clipboard operation
kedr copied to clipboard

Some functions to simulate

Open euspectre opened this issue 10 years ago • 4 comments

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 avatar Apr 05 '15 13:04 euspectre

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

<empty>

euspectre avatar Apr 05 '15 13:04 euspectre

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 avatar Apr 05 '15 13:04 euspectre

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 avatar Apr 05 '15 13:04 euspectre

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

<empty>

euspectre avatar Apr 05 '15 13:04 euspectre