Collect a block-wise histogram of trim and write errors
authorDan Ehrenberg <dehrenberg@chromium.org>
Tue, 14 Apr 2015 22:58:16 +0000 (15:58 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 15 Apr 2015 00:16:20 +0000 (18:16 -0600)
commit66347cfa2f73fd76257e058a3649de437c6eccbe
tree6e162d8b305c1aa9ef8bd30fdaf5f6327461dfbe
parent0e4dd95c548cca2e7bef7db3696231130cb4b594
Collect a block-wise histogram of trim and write errors

This patch collects information on how many trims or writes each trim
block sized unit can undergo before its first error. It also records
the way in which an error occurred, if one did.

Output is provided with a histogram which can be output either in
normal or json output. Terse output is omitted, since it seemed like
that would require a version rev bump.

Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
12 files changed:
HOWTO
client.c
filesetup.c
fio.1
init.c
io_u.c
iolog.c
options.c
server.c
stat.c
stat.h
thread_options.h