[Gluster-devel] how does meta xlator work?

Anand Avati avati at gluster.org
Thu Aug 14 01:50:21 UTC 2014


On Tue, Aug 12, 2014 at 9:58 AM, Emmanuel Dreyfus <manu at netbsd.org> wrote:

> 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.
>

That may / may not work well in practice depending on the number of
concurrent apps working on a file. But a good start nonetheless.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140813/0a32c35f/attachment.html>


More information about the Gluster-devel mailing list