Add log_info_flush()
authorVincent Kang Fu <VFu@fusionio.com>
Fri, 26 Apr 2013 22:56:01 +0000 (16:56 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 26 Apr 2013 22:56:01 +0000 (16:56 -0600)
commitfdd5f15f8231e8c91c4deff22e630a34addd0fef
tree940d52bd5bf7c9bd025b72680100649555554e1b
parent5971116e9e3714d830dcb4bebf7b10e3803cbefd
Add log_info_flush()

If fio dumps status through -USR1 or similar and output is
being stored in a file, the buffering on the file descriptor
by the library can cause is not to see all the output. Ensure
that it gets flushed after dumping stats.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
log.c
log.h
stat.c