Add support for verify triggers and verify state saving
authorJens Axboe <axboe@fb.com>
Tue, 11 Nov 2014 03:34:00 +0000 (20:34 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 11 Nov 2014 17:20:14 +0000 (10:20 -0700)
commitca09be4b1a8e97f0bca5cfbddb399899cf561eaa
tree8d6a05be208388915660246b50dd0f5032c79125
parentb37d19b50ceab74c3947dd1685616e21b8638c95
Add support for verify triggers and verify state saving

This allows you to (for instance) instantly terminate a verify
write workload, and then later that everything was written
correctly up to that very point. This can be useful for testing
powercut scenarios, which is often problematic on storage
devices.

The trigger part is a file based notification scheme, similar
to what is provided for the status dumps. When triggered,
fio will exit immediately and write the verify state safely
to disk. A trigger can be accompanied by a trigger command.
Say you wanted to test powercut safety, the trigger could be
something that immediately cut power to the machine.

The verify state is either saved locally (if run locally),
or saved over the network if run in client/server mode.

Signed-off-by: Jens Axboe <axboe@fb.com>
16 files changed:
HOWTO
backend.c
cconv.c
client.c
client.h
fio.1
fio.h
init.c
io_u.c
lib/num2str.c
options.c
server.c
server.h
thread_options.h
verify.c
verify.h