[fuse] Effects of opening with O_DIRECT

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

 



Hi,

What happens if a file (on a FUSE mountpoint) is opened without
O_DIRECT, has some data in the page cache, and is then opened a second
with O_DIRECT?

Will reads with O_DIRECT come from the page cache (if there's a hit), or
be passed through to the fuse daemon?

What happens to writes (with and without O_DIRECT, and assuming that
writeback caching is active)? It seems to me that in order to keep
consistent, either caching has to be disabled for both file descriptors
or enabled for both...


Thanks!
-Nikolaus

-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux