Skip to content

fix segmentation fault with option bandwidth-log

Ankit Kumar fio 1 version Applied

Status from this message: Applied, thanks. I added a fixes tag and lightly edited the commit message.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1stat: fix segfault with fio option bandwidth-logstat.c+4 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.17.1