Cleanup logging
authorJens Axboe <axboe@fb.com>
Tue, 1 Jul 2014 22:29:12 +0000 (16:29 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 1 Jul 2014 22:31:36 +0000 (16:31 -0600)
commitcb7e0ace739cbd5ca8a434a40fef4de469d59a5e
tree633c4d2f70877dec1b4854f545255765ad566f91
parent3310fcedbf11916c20aca6cffc20264a6e781e32
Cleanup logging

If the log knows the filename it is supposed to log to, then we
don't need to have part of that on the init side and the other
part on the flush side. So clean it up so that the caller of
setup_log() provides everything we need. This gets rid of
various ways of ending the log, and opens us up to doing
log flushing mid-run.

Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c
init.c
iolog.c
iolog.h