Am 03.06.2016 um 17:01 hat Denis V. Lunev geschrieben: > On 06/03/2016 03:30 PM, Kevin Wolf wrote: > >This options allows to flush the image periodically during write tests. > > > >Signed-off-by: Kevin Wolf <kw...@redhat.com> > This pattern could be a bit different - you wait requests to finish > and after that start flush. In this case there is no gain with my > patch ;) > > You should treat flush as ordinary write request i.e. place > request immediately without waiting for writes to finish. > May be this could be specified as an operation mode.
Hm, okay, I can try that. What OS is running on your guest? Because I seem to remember that Linux drains the queue before sending a flush command. This is why I implemented it this way here. Maybe it changed in Linux, though. Kevin