Skip to content
Snippets Groups Projects
Commit c7c24f84 authored by imarkov's avatar imarkov Committed by Konstantin Osipov
Browse files

fio: Fix race condition in fio.read

When fio.read  from multiple fibers is performed, as fio.read yields before
performing actual read operation and ibuf shared among several fibers
may be corrupted and read data is mixed.

The fix is to create new ibuf for each fio.read call in case
buffer is not specified.

Closes #3187
parent 330a607a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment