How is it possible to enable direct I/O?
Obviously, I enable the flag dio=1 when I load the module however, if I check using a debug build the module always returns Direct IO Disabled. I have used a USB3 drive on a real machine but I have also tested the option on a QEMU virtual machine with SCSI, SATA and USB virtual disks with ext4 and xfs but no results (also mounting partitions with sync option).
Can you explain how to use this feature?
How is it possible to enable direct I/O?
Obviously, I enable the flag
dio=1when I load the module however, if I check using a debug build the module always returnsDirect IO Disabled. I have used a USB3 drive on a real machine but I have also tested the option on a QEMU virtual machine with SCSI, SATA and USB virtual disks with ext4 and xfs but no results (also mounting partitions withsyncoption).Can you explain how to use this feature?