Hello Linux FUSE (Filesystem in Userspace) support O_DIRECT?because I use fio benchmark to test fuse but it always shows errors when I use directIOMine machine is Ubuntu 4.4.0-38 x86_64fio_version = 2.14Below is my config file[global]ioengine=libaio**direct=1**time_basedruntime=60ramp_time=30size=64ggroup_reporting[S_100RW_1M_R]rw=readnumjobs=1iodepth=32bs=1mstonewall[S_100RW_1M_W]rw=writenumjobs=1iodepth=32bs=1mstonewallwhen I execute :sudo fio fio.cfg and it doneit shows the result of seq. read without seq. write.it shows below:fio: io_u error on file xxxxx : Invalid argument: write offset=0, buflen=1048576I tried every times and the results are the same even I changed the tested device.how come it happened?thanks a lot
Does FUSE support O_DIRECT/directI/O
linux;ubuntu;io;fuse
Yes, since version 2.4:What is new in 2.4...Allow 'direct_io' and 'keep_cache' options to be set on a    case-by-case basis on open.I'd venture one of several things is likely happening:Your version of fuse isn't new enough.The actual underlying file system doesn't support direct IO, and fuse is simply returning a pass-through error. (This does assume fuse passes the direct IO request through to the underlying file system that actually holds the data on disk somewhere.)A bug somewhere in fuse code.  Direct IO on Linux can be very particular/quirky.