ETA no longer works when -o specified
authorRik Faith <rickard.faith@nutanix.com>
Thu, 29 May 2014 20:13:39 +0000 (14:13 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 29 May 2014 20:13:39 +0000 (14:13 -0600)
commit988da1208e6dac18a0144888ad19dcc44e4c2ae3
tree4db7cb8054c6b3738d4a25fdaa578fbcf72b47b3
parentd9b100fc117a963334fb71b8b662be90cd456068
ETA no longer works when -o specified

Regarding fio version fio-2.1.9-17-gd9b1 (after April 11, 2014):

A recent change (5e1d8745471d1f315113c5c3fd8b93809d9ddff9) caused stdout
to be closed when -o was specified, which prevents ETA output from showing
up on stdout even when, e.g., json is being saved in the file.

This patch continues to close f_out so that there is no leak if multiple -o
options are specified, but doesn't close stdout.  Hence, ETA works again
when it should.

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