* Print info if direct I/O is used
@ 2012-07-04 14:44 Georg Schönberger
2012-07-31 18:48 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Georg Schönberger @ 2012-07-04 14:44 UTC (permalink / raw)
To: fio@vger.kernel.org
Hi Jens,
it would be nice if an information is printed out if direct I/O has been
used:
Instead of
--------
/usr/local/bin/fio --rw=write --direct=1 --name=usb --filename=/dev/sdb1
usb: (g=0): rw=write, bs=4K-4K/4K-4K, ioengine=sync, iodepth=1
--------
I suggest
--------
/usr/local/bin/fio --rw=write --direct=1 --name=usb --filename=/dev/sdb1
usb: (g=0): rw=write, bs=4K-4K/4K-4K, ioengine=sync, direct=1, iodepth=1
--------
So I can verify if the page cache has been used for a test when
inspecting the output files.
-Georg
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Print info if direct I/O is used
2012-07-04 14:44 Print info if direct I/O is used Georg Schönberger
@ 2012-07-31 18:48 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2012-07-31 18:48 UTC (permalink / raw)
To: Georg Schönberger; +Cc: fio@vger.kernel.org
On 2012-07-04 16:44, Georg Schᅵnberger wrote:
> Hi Jens,
>
> it would be nice if an information is printed out if direct I/O has been
> used:
> Instead of
> --------
> /usr/local/bin/fio --rw=write --direct=1 --name=usb --filename=/dev/sdb1
> usb: (g=0): rw=write, bs=4K-4K/4K-4K, ioengine=sync, iodepth=1
> --------
> I suggest
> --------
> /usr/local/bin/fio --rw=write --direct=1 --name=usb --filename=/dev/sdb1
> usb: (g=0): rw=write, bs=4K-4K/4K-4K, ioengine=sync, direct=1, iodepth=1
> --------
> So I can verify if the page cache has been used for a test when
> inspecting the output files.
I'll take a patch to add that :-)
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-31 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-04 14:44 Print info if direct I/O is used Georg Schönberger
2012-07-31 18:48 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox