Skip to content
Snippets Groups Projects
  • Nadav Har'El's avatar
    b59b12c7
    Add test for concurrent VFS use · b59b12c7
    Nadav Har'El authored
    While trying to run the "compiler.compiler" benchmark from SPECjvm2008,
    I noticed we seem to have a problem with concurrent use of filesystem
    operations - which often hang (waiting on a vn_lock()) or cause
    assertion failures.
    
    This trivial test - which does stat() calls in 10 concurrent threads -
    reproduces this bug, and usually (but not always) crashes on one of
    several assertion failures, or hangs.
    b59b12c7
    History
    Add test for concurrent VFS use
    Nadav Har'El authored
    While trying to run the "compiler.compiler" benchmark from SPECjvm2008,
    I noticed we seem to have a problem with concurrent use of filesystem
    operations - which often hang (waiting on a vn_lock()) or cause
    assertion failures.
    
    This trivial test - which does stat() calls in 10 concurrent threads -
    reproduces this bug, and usually (but not always) crashes on one of
    several assertion failures, or hangs.