I'm trying to enable Direct I/O on /opt (/dev/sda6, ext4) on Linux Mint 13. What I'm trying is:
mount -o dio,rw /dev/sda6 /opt
as root.
The system responds with:
mount: wrong fs type, bad option, bad superblock on /dev/hda2
dmesg
is reporting:
EXT4-fs (sda6): Unrecognized mount option "dio" or missing value.
I can't figure out which parameter to set to enable direct I/O (and even if mounting with direct I/O is possible for ext4). Besides this, if ext4 should not support direct I/O, could someone please indicate a filesystem to use on Linux which does?