* Logging completed IOs only
@ 2016-02-12 16:23 Erwan Velu
2016-02-12 17:14 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Erwan Velu @ 2016-02-12 16:23 UTC (permalink / raw)
To: fio
Hey,
I was exchanging on the possibility to use fio to perform write test to a device and then check how does the device handled the power failure.
I thought about using the verify options of it but I was shown that write_iolog does only log IOs that were sent to the device but not the one actually completed.
What do you think about adding an option not to log the IO that were sent but completed ?
That way it would be possible to track what was actually done at the time the log was written.
Cheers,
Erwan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Logging completed IOs only
2016-02-12 16:23 Logging completed IOs only Erwan Velu
@ 2016-02-12 17:14 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2016-02-12 17:14 UTC (permalink / raw)
To: Erwan Velu, fio
On 02/12/2016 09:23 AM, Erwan Velu wrote:
> Hey,
>
> I was exchanging on the possibility to use fio to perform write test to a device and then check how does the device handled the power failure.
> I thought about using the verify options of it but I was shown that write_iolog does only log IOs that were sent to the device but not the one actually completed.
>
> What do you think about adding an option not to log the IO that were sent but completed ?
>
> That way it would be possible to track what was actually done at the time the log was written.
The verify trigger supports was intended for exactly that use case.
Looks like that did not make it into the man page (I'll fix that), but
read section 10 in the HOWTO for an introduction to how they work.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-12 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12 16:23 Logging completed IOs only Erwan Velu
2016-02-12 17:14 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox