The log parameters for aggregate read, write and trim only specify log type. As a result the io_log data structure doesn't have the relevant thread_data. While specifying fio option bandwidth-log this results in segmentation fault. Add a check and use DEF_LOG_ENTRIES for such case. This was introduced with the commit 0a852a50 Ankit Kumar (1): stat: fix segfault with fio option bandwidth-log stat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.17.1