Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some functions to simulate #10

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 4 comments
Open

Some functions to simulate #10

GoogleCodeExporter opened this issue Mar 26, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

Original comment by [email protected] on 9 Apr 2013 at 7:08

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 9 Apr 2013 at 7:23

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 9 Apr 2013 at 7:28

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 22 Jan 2015 at 2:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant