blktrace: load improvements
authorJens Axboe <axboe@fb.com>
Wed, 26 Feb 2014 21:42:13 +0000 (13:42 -0800)
committerJens Axboe <axboe@fb.com>
Wed, 26 Feb 2014 21:42:13 +0000 (13:42 -0800)
commit5903e7b7907854014478b6febfc5645a203ff59e
tree55c4c9849d96f785279b911f12f654a40984dd36
parentbcd27f7ae1ccebd2ac1778752bf8f13fa99600e9
blktrace: load improvements

- Set the state explicitly to SETTING_UP when loading the
  traces. This could take a while, so tell the status thread
  that we are setting up so it knows how to display us
  correctly.

- Fix a bug with multiple devices where we didn't cache the
  major/minor properly. This made blktrace spend tons of CPU
  cycles looking up /sys.

- Handle multiple devices correctly when adding files.

Signed-off-by: Jens Axboe <axboe@fb.com>
blktrace.c
engines/net.c
engines/rbd.c
file.h
filesetup.c
init.c
iolog.c
options.c