[Gluster-devel] how does meta xlator work?

Emmanuel Dreyfus manu at netbsd.org
Tue Aug 12 16:58:20 UTC 2014


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
manu at netbsd.org


More information about the Gluster-devel mailing list