Skip to main content

Crate stressor_lib

Crate stressor_lib 

Source

Modules§

aggressive
A variant that fills the device, inducing disk-full errors and tries to avoid the page-cache. Starts the ‘aggressive’ stressor. This variant performs open-read-close, open-append-close, and unlink-open-append-close operations. Note that ‘truncate’ is not exercised. This version also silently ignores errors such as out of space.
gentle
A variant that uses modest storage and tries to exercise all the basic IOP variations. This variant opens, closes, creates, deletes, reads, writes and truncates small files. Reads and writes are at offsets less than 100k and lengths less than 10k. Open file count is kept probabilistically low to avoid using too much disk. Panics if operations fail.