Print info if direct I/O is used
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
Quoted 16 lines · Georg Schᅵnberger
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 :-)
Signature · 1 line
Jens Axboe