Re: how does meta xlator work?

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

 



Anand Avati <avati@xxxxxxxxxxx> wrote:

> So my guess would be to inspect how direct_io_mode works in those FUSE
> implementations first. It is unlikely to be any other issue.

Indeed this is the problem: the kernel open and close the file without
sending any read request. 

But there is something I don't get withthe fix: 
- the code forces direct IO if (state->flags & O_ACCMODE) != O_RDONLY),
but here the file is open read/only, hence I would expect fuse xlator to
do nothing special
- using direct IO is the kernel's decision, reflecting the flags used by
calling process on open(2). How can the fuse xlator convince the kernel
to enable it?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@xxxxxxxxxx
_______________________________________________
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