[PATCH 0/1] fix segmentation fault with option bandwidth-log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux