On Mon, Aug 11, 2014 at 09:53:19PM -0700, Anand Avati wrote:
> If FUSE implements proper direct_io semantics (somewhat like how O_DIRECT
> flag is handled) and allows the mode to be enabled by the FS in open_cbk,
> then I guess such a special handling of 0-byte need not be necessary? At
> least it hasn't been necessary in Linux FUSE implementation.

I made a patch that lets meta.t pass on NetBSD. Unfortunately, the
direct IO flag gets attached to the vnode and not to the file descriptor, 
which means it is not possible to have a fd with direct IO and another without. 

But perhaps it is just good enough.

-- 
Emmanuel Dreyfus
[email protected]
_______________________________________________
Gluster-devel mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Reply via email to