Re: how does meta xlator work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On Tue, Aug 12, 2014 at 9:58 AM, Emmanuel Dreyfus <manu@xxxxxxxxxx> 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.


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux